23 Mar
2015
23 Mar
'15
5:57 p.m.
a(?0)?
This regex contains a recursive call (?0).
It should match a string with any arbitrary length filled with 'a' characters. regex_match only returns true for "a" and "aa", but failed to match "aaa" and any string longer than three characters.
Why?
It's a bug :( Unfortunately the "obvious" fix breaks a heck of a lot of other stuff. John.