BowPad icon indicating copy to clipboard operation
BowPad copied to clipboard

Inconsistent Regex captured group holders

Open wmjordan opened this issue 4 years ago • 2 comments

The tool tip of the replacement box in the File/Replace dialog says that the we can use $0 for matched text, $1, $2 notations for captured groups. However, it actually uses \1, \2, etc. notations for captured groups and no counterpart for $0. image

wmjordan avatar Oct 16 '21 02:10 wmjordan

BTW, in the Regex Capture window, the $ notation is used.

wmjordan avatar Oct 22 '21 00:10 wmjordan

there's a problem in Scintilla, reported here: https://groups.google.com/g/scintilla-interest/c/OctzNHZndQc/m/4b2QeMG4AAAJ

stefankueng avatar Oct 22 '21 07:10 stefankueng