Oops, you are of course right - just re-ran the code, and it finds the first element but that's it
I actually had your suggestion originally (more or less) and just dropped it down to one regex and it seemed to work - yet another perfect example of why I shouldn't make assumptions about what seems simple code.
In reply to Re: Re: A query on greedy regexps
by sch
in thread A query on greedy regexps
by sch
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |