![]() |
|
Perl: the Markov chain saw | |
PerlMonks |
Re: Regex: Matching last of repeated character to end of stringby davis (Vicar) |
on Nov 04, 2005 at 12:32 UTC ( [id://505687]=note: print w/replies, xml ) | Need Help?? |
I wouldn't use greediness at all. I'd use "Not this character" matches:
That's "any character that isn't a slash" davis
Kids, you tried your hardest, and you failed miserably. The lesson is: Never try.
In Section
Seekers of Perl Wisdom
|
|