EliziumNet/Loopz

Rename-Many (move match); Named group captures inside Anchor not updated in With

Closed this issue · 1 comments

Anchor named captures should be resolved like they are for Copy and Pattern captures. The ${_a} for the whole anchor match is currently supported, but not named capture groups.

Actually, this was not quite right, the anchor named group references are already implemented. The only deficiency was storing the Anchor named groups in the Diagnostic info. Also, the ordering of named groups between Copy and Pattern needs to be made consistent in Drop and With (Pattern group ref replacement occurs first, then Copy).