However, this does not work if silentius wants the longest match anywhere in the string. See counter-example in Re^2: match longest sequence in an "or" RE.
In reply to Re^2: match longest sequence in an "or" RE
by AnomalousMonk
in thread match longest sequence in an "or" RE
by silentius
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |