Unicode support for regular expression rules in advanced validation
-
Regular expression rules for Advanced Validation are not evaluated correctly in Japanese.
The pattern modifier “u” is required for preg_match.
acf-extended/includes/fields-settings/validation.php
The following part of this file.
preg_match(‘/’ . $match . ‘/’, $result)
It needs to be changed like this
preg_match(‘/’ . $match . ‘/u’, $result)Is it possible to incorporate this into the update?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘Unicode support for regular expression rules in advanced validation’ is closed to new replies.