Based on your last paragraph, Approach 2 and 3 are nowhere near as good as Approach 1.
You want overlapping matches of different patterns. Do you want overlapping matches of the same pattern?
Do you need to know which pattern matched which result?
In reply to Re: Regular Expression (Regex) Sieve
by ikegami
in thread Regular Expression (Regex) Sieve
by Wiggins
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |