xergio/xrg.es

No Unicode support

Closed this issue · 2 comments

There is no Unicode support, for example when you want to test a regex like this ^[\x{0600}-\x{06EF}]+$ (persian alphabet) the Result will be something like this:

Compilation failed: character value in \x{...} sequence is too large at offset 7

Use the modifier "u" to allow UTF-8 strings. More info: http://php.net/manual/en/reference.pcre.pattern.modifiers.php

Example: https://xrg.es/#8vte6h

Works well, thanks xergio 👍