Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much

Re^2: regex gotcha moving from 5.8.8 to 5.30.0?

by swl (Vicar)
on Feb 10, 2021 at 21:37 UTC ( #11128198=note: print w/replies, xml ) Need Help??

in reply to Re: regex gotcha moving from 5.8.8 to 5.30.0?
in thread regex gotcha moving from 5.8.8 to 5.30.0?

Just a guess, but the delta for 5.20 includes this entry:

Executing a regex that contains the ^ anchor (or its variant under the /m flag) has been made much faster in several situations.

Maybe that enhancement has some side effects triggered by the \s* ^ \s* patterns in the regexps.

Are you able to test what happens in pre-5.20 if these patterns are changed to \s*?

Edit - I should have asked for what happens either side of 5.20.

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11128198]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (3)
As of 2022-09-24 22:43 GMT
Find Nodes?
    Voting Booth?
    I prefer my indexes to start at:

    Results (116 votes). Check out past polls.