With a text field
* Setting regular expression validator (ereg) has no effect (no validation error when it should)
* Using pattern lite (pcre) works as expected

Watchdog has nothing to say.

Maybe this is a result of EREG expressions deprecated since php 5.3, we have 5.4

Setting major as pattern is a central validator.

Comments

g089h515r806’s picture

Maybe we will use pcre as the default regular expression validator in the next major version.
I want to know the syntax diff between ereg and pcre.

g089h515r806’s picture

Issue summary: View changes

Updated issue summary.