There's nothing wrong with the regex. It will change $1 however. Is your code using $1 after the if and going into an infinite loop because the value isn't what you expect?
In reply to Re: This regex: is there something bad there?..
by Anonymous Monk
in thread This regex: is there something bad there?..
by Doctrin
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |