Thanks for that. So the answer is, don't use square brackets as delimiters if the regex contains (unbalanced) square brackets.
It's a shame that there aren't a couple more sets of balanced brackets in the arsenal:) Preferably a pair that could be used soley for quote-like delimiting. Maybe now we have unicode, we could find a pairing that wouldn't get overloaded for 7 other things too? Some chance I think:)
In reply to Re: Re: Re: More Variable length regex issues
by BrowserUk
in thread More Variable length regex issues
by dextius
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |