Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: regex gotcha moving from 5.8.8 to 5.30.0?

by rsFalse (Chaplain)
on Feb 11, 2021 at 16:36 UTC ( [id://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?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (5)
As of 2024-04-24 19:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found