Hm, well I really didn't understand that about how the match operator works so I guess that would explain it. I had assumed /g was pointless on the if after thinking about it, but the part I really couldn't figure out was why the negative match would affect the subsequent one in any way.
In reply to Re^2: A regex question.
by Anonymous Monk
in thread A regex question.
by FeistyLemur
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |