Added regex support for datetime parameters.