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

Re: Conditional continued matching with regexes

by diotalevi (Canon)
on Feb 05, 2007 at 22:43 UTC ( [id://598444]=note: print w/replies, xml ) Need Help??


in reply to Conditional continued matching with regexes

Perhaps you meant to look at (??{...}). That takes a bit of perl code, returns a string or qr// object and uses that as the next regexp fragment. (?{...}) just runs some perl code and only (?(...)...|...) uses its return value for anything.

⠤⠤ ⠙⠊⠕⠞⠁⠇⠑⠧⠊

  • Comment on Re: Conditional continued matching with regexes

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (4)
As of 2024-04-24 15:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found