I'm a bit new to regex but I think I came up with a proper way of matching all files but exclude any ending in (.exe).
regex:.*\\steamapps\\common\\(?!.*\.exe$)
So I test it out in the search and it works to find everything but any file ending in (.exe).
I add that to my exclusion list filter. It doesn't work as expected.
My expectation is that if i query (.exe) or (*), it should return all files that end with (.exe). But results are 0. What am I doing wrong?
Exclusion List Regex issues
Re: Exclusion List Regex issues
Does it have to be regex:?
Would do it - even if used in conjunction with regex: (sans the (?!.*\.exe$) part).
Would
!ext:exe
-
- Posts: 14
- Joined: Mon Sep 04, 2023 4:12 am
Re: Exclusion List Regex issues
I figured it out. I was putting my filter in the "Folder Exclusions" rather than the "File Exclusions".
But your solution works too and is actually easier. I'm just trying to learn regex so i get better at it.
But your solution works too and is actually easier. I'm just trying to learn regex so i get better at it.