Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comment #1
g089h515r806 CreditAttribution: g089h515r806 commentedMaybe 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.
Comment #1.0
g089h515r806 CreditAttribution: g089h515r806 commentedUpdated issue summary.