go ahead... be a heretic | |
PerlMonks |
Re: Re: regex needed with match operatorby hardburn (Abbot) |
on Apr 28, 2003 at 14:07 UTC ( [id://253699]=note: print w/replies, xml ) | Need Help?? |
/\/(\w+)\/foo$/
Perhaps better as: m!/([^/]+)/foo$!Advantages:
---- Note: All code is untested, unless otherwise stated
In Section
Seekers of Perl Wisdom
|
|