Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inconsistent Regex captured group holders #221

Open
wmjordan opened this issue Oct 16, 2021 · 2 comments
Open

Inconsistent Regex captured group holders #221

wmjordan opened this issue Oct 16, 2021 · 2 comments

Comments

@wmjordan
Copy link
Collaborator

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
Copy link
Collaborator Author

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

@stefankueng
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants