/g doesn't try to match several times from the start of the string, but from the position last match.Thank you! This is the kernel of wisdom I was overlooking. Thank you both for the various working solutions.
In reply to Re^2: /g option not making s// find all matches
by raygun
in thread /g option not making s// find all matches
by raygun
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |