in reply to Re: Regex error when [] occurs in file..
in thread Regex error when [] occurs in file..
would you match$temp =~ m/(\[0-9\])blah$1/;
rather than$temp = "[0-9]blah6";
?$temp = "[0-9]blah[0-9]";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Regex error when [] occurs in file..
by Joost (Canon) on Mar 03, 2008 at 16:11 UTC | |
|
Re^3: Regex error when [] occurs in file.. ($1 vs. \1)
by almut (Canon) on Mar 03, 2008 at 16:31 UTC |