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

[Feature request] Go to matching brace for Regex with escaped chars #15066

Open
1 task done
Sopor opened this issue Apr 30, 2024 · 0 comments
Open
1 task done

[Feature request] Go to matching brace for Regex with escaped chars #15066

Sopor opened this issue Apr 30, 2024 · 0 comments

Comments

@Sopor
Copy link

Sopor commented Apr 30, 2024

Is there an existing issue for this?

  • I have searched the existing issues

Description of the Issue

When using regex i can easy select the start bracket or the close bracket and Notepad++ will show them for me
image

This is very useful when working with regex, but there is something that make this not work very well and that is when escaping a bracket because it will include any bracket even if they are escaped.
Here it should exclude the \( because that is escaped:
image

Instead it match these two:
image

Maybe there is an option for this, but i haven't found any 🙁

Describe the solution you'd like.

When working with regex it should be possible to make escaped brackets not be included in Go to Matching Brace, Select All Between Matching Braces and when placing the cursor on the start bracket will show where the end bracket is (I don't know the name for it).

Debug Information

Notepad++ v8.6.5   (64-bit)
Build time : Mar 29 2024 - 17:04:43
Path : E:\Utils\Text\Notepad++\notepad++.exe
Command Line : "***"
Admin mode : OFF
Local Conf mode : ON
Cloud Config : OFF
Periodic Backup : OFF
OS Name : Windows 10 Enterprise (64-bit
OS Version : 22H2
OS Build : 19045.4291
Current ANSI codepage : 1252
Plugins : 
    HexEditor (0.9.12)
    LuaScript (0.12)
    mimeTools (3.1)
    NppConverter (4.6)
    NppExport (0.4)
    NppSaveAsAdmin (1.0.211)
    NppTextFX (1.4.1)
    RegexTrainer (1.2)
    XMLTools (3.1.1.13)

Anything else?

No response

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

1 participant