|
|
| We don't bite newbies here... much | |
| PerlMonks |
Re: Regex Doubtby space_monk (Hermit) |
| on Nov 12, 2012 at 08:36 UTC ( #1003381=note: print w/ replies, xml ) | Need Help?? |
|
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.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||