Keep It Simple, Stupid | |
PerlMonks |
Re: followup on regexby Wonko the sane (Deacon) |
on Jul 21, 2003 at 19:24 UTC ( [id://276413]=note: print w/replies, xml ) | Need Help?? |
Your original regex has a flaw in the character class. The '-' needs to be escaped. This is a corrected pattern that should do what you want.
Wonko
In Section
Seekers of Perl Wisdom
|
|