Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^4: Help combining two regex's into one

by LanX (Saint)
on Jan 16, 2013 at 03:11 UTC ( [id://1013486]=note: print w/replies, xml ) Need Help??


in reply to Re^3: Help combining two regex's into one
in thread Help combining two regex's into one

Just a matter of perspective: the left part which is kept unchanged is the one ignored from substitution, because the right part is kept in '$&'.

So both parts are kept, just in different aspects.

Almost as confusing as using single line and multi line modifiers at the same time...

  • Comment on Re^4: Help combining two regex's into one

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (7)
As of 2024-04-23 19:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found