Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: regex gotcha moving from 5.8.8 to 5.30.0?

by rsFalse (Chaplain)
on Feb 11, 2021 at 16:36 UTC ( #11128233=note: print w/replies, xml ) Need Help??


in reply to regex gotcha moving from 5.8.8 to 5.30.0?

And what if tr/^/$/ ? It should do the same here, but is it also slower?

Upd. I think it would do the same except of not matching the first 'line'. But prepending one endline ("\n") to the very beginning of the slurpedmultiline text would make matching similar.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (5)
As of 2022-08-12 02:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?