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

Replace with Regex not working as it should (see example #12220

Open
zaraijamel opened this issue Sep 23, 2022 · 1 comment
Open

Replace with Regex not working as it should (see example #12220

zaraijamel opened this issue Sep 23, 2022 · 1 comment

Comments

@zaraijamel
Copy link

Description of the Issue

Steps to Reproduce the Issue

  1. Input Text
    BEGIN
    "

Text
END
3. RegEx
"\n\n\s\s
5. result not found
image

Expected Behavior

Find the text using the input regex
image

Actual Behavior

no result found
image

Debug Information

Notepad++ v8.4.5 (64-bit)
Build time : Sep 3 2022 - 04:05:32
Path : C:\Program Files\Notepad++\notepad++.exe
Command Line : "D:\software\disco.df"
Admin mode : ON
Local Conf mode : OFF
Cloud Config : OFF
OS Name : Windows 10 Pro (64-bit)
OS Version : 21H2
OS Build : 19044.1889
Current ANSI codepage : 1252
Plugins :
3P (1.8.7)
ERPHelper (1.1.2)
Explorer (1.9.5)
GitSCM (1.4.7.1)
HTMLTag (1.2.3)
mimeTools (2.8)
NppConverter (4.4)
NppExport (0.4)
RegexTrainer (1)
XMLTools (3.1.1.13)

Expected Behavior

Actual Behavior

Debug Information

@alankilborn
Copy link
Contributor

Your issue is confusing:

  • you really should show the entire Replace window in the screenshot
  • you don't show properly formatted sample text
  • you need also to show your main window status bar
  • your "actual" behavior seems to indicate a match was found (selected text) although you state "no result found"

First things first...paste a screenshot of your main window status bar, like this:

image

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