regex by forward slashes

Have a suggestion for "Everything"? Please post it here.
jo29
Posts: 43
Joined: Sat Sep 19, 2020 9:01 pm

regex by forward slashes

Post by jo29 »

Hi

Is it possible to enable regex for this search by enclosing it with / ?

For example:
/^file\d+\.doc$/

It is easier and used elsewhere. Thanks
void
Developer
Posts: 20360
Joined: Fri Oct 16, 2009 11:31 pm

Re: regex by forward slashes

Post by void »

Thank you for the suggestion jo29,

This will be difficult to support as / matches a path separator in Everything.
/downloads/
is a valid search.

For now, the easiest way to enable regular expressions for a search term is with the regex: search modifier.

For example:
regex:^file\d+\.doc$
jo29
Posts: 43
Joined: Sat Sep 19, 2020 9:01 pm

Re: regex by forward slashes

Post by jo29 »

Got it. Thanks