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

Re: Reg Exp to handle variations in the matched pattern

by bitingduck (Chaplain)
on Feb 22, 2012 at 15:46 UTC ( [id://955554]=note: print w/replies, xml ) Need Help??


in reply to Reg Exp to handle variations in the matched pattern

I agree that something's not quite clear about what you're trying to match.

Do you want the \r to be at the end of the line? Then you can use the $ anchor at the end of the regex.

  • Comment on Re: Reg Exp to handle variations in the matched pattern

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (6)
As of 2024-04-26 08:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found