That's what I thought originally, but then I wasn't getting the results I expected in my more complicated code. Which made me think I was mis-understanding the way /g works.
Apparently, I was correct to begin with, and I have a different problem with my code :-/
In reply to Re^2: Regex "or"
by Mad_Mac
in thread Regex "or"
by Mad_Mac
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |