However both of your matches start at the beginning of the string not where the previous one left off.
For that type of behavior check out the /g modifier and the /G tag. Or you could combine everything into one regular expression if that'd work.
In reply to Re: Regexp map weirdness
by Banky
in thread Regexp map weirdness
by Kickstart
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |