The problem is that !dupe: or unique: don't work for a regular-expression-match where both a folder and a file have the same value.
Instead, it shows the file and the folder which both have the same regular-expression-match value.
This is a limitation with Everything.
Everything uses separate databases for files and folders.
dupe: is only applied to a single database at a time.
I will consider support for mixing files and folders with regmatch1.
Thank you for the suggestion.
For now, please consider exporting the regex:(test)\.txt search to an EFU file list, changing the folders to files, opening the file list and searching for dupe:
- In Everything, perform your regex: search, for example:
regex:(test)\.txt
- From the File menu, click Export....
- Change save as type to: EFU Everything File List.
- Choose a filename and click Save.
- Open this file list in Notepad
- Change the header from:
Filename,Size,Date Modified,Date Created,Attributes
to:
Filename,Size,Date Modified,Date Created
- Save changes and exit Notepad.
---
- From the File menu, click Open File List...
- Select the file list you saved above and click Open...
- Perform your regex: and dupe: search, for example:
regex:(test)\.txt !dupe:regmatch1
---
- When you are done with your results, close the file list:
- From the File menu, click Close File List.