... work around ...
I, also, came up with a work-around similar to the JavaFan's, although whether better than yours is another question as it needs the Special Backtracking Control Verbs of 5.10+. This was in the course of fiddling with a reply to Re^5: dice's coefficient. The idea was to avoid list generation by the regex (and it also, coincidentally, works without the /g modifier), but the results were not particularly noteworthy in terms of speed.
In reply to Re^2: Regex: Overlapping Matches: Double Execution of Eval-ed Code (pos==pos && len!=len)
by AnomalousMonk
in thread Regex: Overlapping Matches: Double Execution of Eval-ed Code
by AnomalousMonk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |