Keep It Simple, Stupid | |
PerlMonks |
Re: Regex (find an * after a digit)by The Mad Hatter (Priest) |
on Feb 06, 2004 at 02:56 UTC ( [id://326972]=note: print w/replies, xml ) | Need Help?? |
Though I know little in the way of Unicode, it seems to me that somewhere Perl thinks something in your regex is trying to specify a UTF-8 character when you aren't; are you using UTF-8 other places in the script? What version of perl are you using? Just as a side note, {1,} can be written more succintly as +, like thus: /\d+\*/
In Section
Seekers of Perl Wisdom
|
|