Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses

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?

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

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (4)
As of 2015-11-29 16:05 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (751 votes), past polls