Hello,
It seems it's not possible to do something like:
$regex->anythingBut('0-9')
since the sanitize method add systematically a "\" behind the "-" which break the regex range expression.
That giving us:
(?:[^0\-9]*)
instead of
(?:[^0-9]*)
Thanks a lot,
Aurélien
Hello,
It seems it's not possible to do something like:
$regex->anythingBut('0-9')since the sanitize method add systematically a "\" behind the "-" which break the regex range expression.
That giving us:
(?:[^0\-9]*)instead of
(?:[^0-9]*)Thanks a lot,
Aurélien