Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: regex is not working as I intended

by AnomalousMonk (Archbishop)
on Jan 18, 2018 at 22:50 UTC ( [id://1207487]=note: print w/replies, xml ) Need Help??


in reply to regex is not working as I intended

Not a complete answer, but just a note:  (?>...) is not a positive lookahead (which would be  (?=...) instead), but is an "atomic" grouping (update: also called an "independent" subexpression) that affects backtracking. See Extended Patterns in perlre.


Give a man a fish:  <%-{-{-{-<

Replies are listed 'Best First'.
Re^2: regex is not working as I intended
by fireblood (Scribe) on Jan 22, 2018 at 19:15 UTC
    Oh, yeah, that was a typo. Thanks for catching.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (2)
As of 2024-04-24 16:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found