And you're getting this warning because $2 is undefined.
Take a closer look at your regular expression. You only have one set of capturing parentheses on each side of the alternation, so you're only ever going to get one match. ie. $2 will always be undefined.
Cheers,
Darren
In reply to Re: why such an error happened?
by McDarren
in thread why such an error happened?
by lightoverhead
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |