|
|
|
Clear questions and runnable code get the best and fastest answer |
|
| PerlMonks |
Re: help in understanding a regexby roboticus (Canon) |
| on Nov 16, 2012 at 22:36 UTC ( #1004255=note: print w/ replies, xml ) | Need Help?? |
|
Yeah, you'd have to change it to m/([^\/]+)$/ to work. The original used vertical bars so they didn't have to escape the slash in the brackets. ...roboticus When your only tool is a hammer, all problems look like your thumb.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||