my $prefix = "/\d\d";Here's your problem. You're using \d in double quoted context. $prefix is just /dd. use warnings would have told you so. Printing $prefix would have told you as well.
In reply to Re: Parenthesis grouping into regexes.
by JavaFan
in thread Parenthesis grouping into regexes.
by aramisf
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |