RulesDateInputEvaluator::DATE_REGEX_LOOSE

File

modules/rules_core.eval.inc, line 70

Class

RulesDateInputEvaluator
A class implementing a rules input evaluator processing date input.

Code

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