You are here

constant ViewsDataExportExporterDOC::DATE_REGEX_ANY in Views data export 7.4

Regular expression that checks for a valid ISO 8601 date/time.

File

exporters/views_data_export_exporter_doc.inc, line 13

Class

ViewsDataExportExporterDOC
This exporter creates a DOC file readable by Microsoft Word. The content is an HTML table, as used by the old XLS export mechanism.

Code

const DATE_REGEX_ANY = '/^((\\d{4})(-(\\d{2}))(-(\\d{2})))?(([T \\s]?(\\d{2}))(:(\\d{2}))(:(\\d{2}))?)?$/';