I want to start searching where the previous match ended. But I don't want to match only at that position, like the \G anchor would have. Rather, I want to tell it to start trying to match there and continue forward a char at a time, as if I replaced $line with ${^POSTMATCH} only more efficiently than copying the string or deleting stuff from the beginning of the string.
The pos($line) doesn't do that.
In reply to Regex: continue from previous match by John M. Dlugosz
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |