Distribution
Mint 22.3
Package version
6.6.3
Frequency
Always
Bug description
Negative regex searching doesn't work as expected using standard JavaScript RegExp notation
Steps to reproduce
- Folder has more than one file: test.log and test.sh
- Search for
!h$, ^h$, !(sh$), or (?!sh$) to exclude test.sh
- Note that no results are returned for the first three and all files are returned for the negative lookahead
Folder with both files:

Search for sh$ works as expected:

Negative searches don't work as expected:
Negative look ahead returns all files:
Expected behavior
Searching using negation returns everything but the negated pattern
Additional information
No response
Distribution
Mint 22.3
Package version
6.6.3
Frequency
Always
Bug description
Negative regex searching doesn't work as expected using standard JavaScript RegExp notation
Steps to reproduce
!h$,^h$,!(sh$), or(?!sh$)to exclude test.shFolder with both files:

Search for

sh$works as expected:Negative searches don't work as expected:
Negative look ahead returns all files:
Expected behavior
Searching using negation returns everything but the negated pattern
Additional information
No response