Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Regex Doubt

by space_monk (Chaplain)
on Nov 12, 2012 at 08:36 UTC ( #1003381=note: print w/ replies, xml ) Need Help??


in reply to Regex Doubt

The only reliable way to detect the location appears to be to lock the regex to the end of the string and then do a non-greedy match from the last " - " (dash with spaces)

A Monk aims to give answers to those who have none, and to learn from those who know more.


Comment on Re: Regex Doubt

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (8)
As of 2014-12-29 13:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (188 votes), past polls