Find/Replace with "Backward direction" checked + greyed out with Regular Expression breaks search

Author: GhbSmwcCreated Sep 28, 2026Updated Sep 28, 2026

Operating System and Version

Linux Mint 22.3 - Cinnamon 64-bit

Distribution

https://github.com/dail8859/NotepadNext/releases/tag/v0.15

Description

I found a bug that Notepad Next search fails if you enable "backward direction", then set the search mode to "Regular Expression", hitting next fails to find matching string.

Steps to Reproduce

  1. Create a text file with the string the lazy dog jumped over the quick brown fox
  2. Hit CTRL+F to bring the dialogue
  3. Select the "Replace" tab
  4. In the "Find" input, enter the
  5. Have the "Search Mode" set to "Normal"
  6. Check the "Backward Direction"
  7. Set the "Search Mode" to "Regular Expression"
  8. Press Find. It fails.

Screenshot:

Image

Debug Information

No response

Additional Details

e.g. screenshots, logs, etc