in reply to Regex (find an * after a digit)
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+\*/
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Regex (find an * after a digit)
by Anonymous Monk on Feb 06, 2004 at 03:08 UTC | |
by I0 (Priest) on Feb 06, 2004 at 03:39 UTC | |
by ysth (Canon) on Feb 06, 2004 at 09:52 UTC |