Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
/\W/ regression in 5.20 with UTF-8 and a synthetic start class #15181
Patterns like /_?[^\W_0-9/ against a UTF-8 target string stopped working as of commit bcb8752 in 5.19.8.
Something like the _? is crucial in this bug, as it causes the regex optimizer to generate a synthetic start class (SSC), though there are lots of other ways to force one, and the bug only happens with the SSC.
On Sat, 13 Feb 2016 14:33:09 -0800, Karl Williamson (via RT)
missing a ]
did you mean /_?[^\W_0-9]/ ?
On 02/14/2016 01:12 AM, H.Merijn Brand wrote: