• Resolved viwbc

    (@viwbc)


    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)
  • Plugin Author Konrad Chmielewski

    (@hwk-fr)

    Hello,

    Thanks for the feedback!

    You’re right, this is a good idea. I’m adding it on my todo list for the next patch.

    Thanks for the suggestion!

    Have a nice day!

    Regards.

Viewing 1 replies (of 1 total)

The topic ‘Unicode support for regular expression rules in advanced validation’ is closed to new replies.