in reply to Re^3: regexp: non-capturing grouping in replacement possible?
in thread regexp: non-capturing grouping in replacement possible?
That's right. The regex engine walks the string from left to right, so looking left of a pattern is a look-behind, looking right of a pattern is a look-ahead.