Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Regex bug? matching multiple newline with /m

by haukex (Archbishop)
on Aug 09, 2021 at 18:58 UTC ( [id://11135740]=note: print w/replies, xml ) Need Help??


in reply to Regex bug? matching multiple newline with /m

You might also be interested in the thread You won't believe what this regular expression does!, where I mentioned in one of the replies that sometimes, when I want the newline/end-of-line to be matched and consumed explicitly, I use (?:\n|\z).

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (5)
As of 2024-04-25 15:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found