Discussion related to "Everything" alpha and beta versions.
monke
Posts: 9 Joined: Tue May 05, 2026 1:37 pm
Post
by monke » Fri Jul 10, 2026 7:31 am
I have the following directory structure:
Dir new
Dir 1 old
Dir 2
Dir 3 old
...
I need a regex query that will return Dir, Dir1 and Dir 3. Below is the query I tried:
Code: Select all
E:\archive\ folder: regex:".*[A-Za-z0-9]\s(new|old)"
But that returns no results.
void
Developer
Posts: 20462 Joined: Fri Oct 16, 2009 11:31 pm
Post
by void » Fri Jul 10, 2026 7:34 am
Please try:
Code: Select all
E:\archive\ folder: regex:"[0-9]?\s(new|old)"
monke
Posts: 9 Joined: Tue May 05, 2026 1:37 pm
Post
by monke » Fri Jul 10, 2026 7:46 am
I'm sorry! I just realized I had "Audio" filter selected in the dropdown next to the search box. Must've hit that by accident. I've set it back to "Everything" and now it's working beautifully... almost. It's also returning Dir 4 NEW (note the capital letters). Is Everything's regex flavor not case-sensitive?
void
Developer
Posts: 20462 Joined: Fri Oct 16, 2009 11:31 pm
Post
by void » Fri Jul 10, 2026 8:35 am
By default regex is case insensitive.
For case sensitivity, please specify case:
For example:
Code: Select all
E:\archive\ folder: case:regex:"[0-9]?\s(new|old)"