You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 20, 2021. It is now read-only.
Hi !
What works
a(?i)b
a(?-i)b
All the above work only for the
i
,m
,s
andx
options.What doesn't work:
U
,X
, andJ
optionsa(?im)b
a(?-i-m)b
a(?i-m)b
a(?i:b)c
(?+i)
syntax, but according to the documentation and the PHP implementation this is invalid.All the above fail with:
Unexpected token "?" (zero_or_one) at line 1 and column 3
Possible fixes
Changing the grammar to:
solves n° 1, 2, 3, 4 & 6.
n° 5 is a bit more complex... 😉
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
The text was updated successfully, but these errors were encountered: