Regex with date functions

If you are experiencing problems with "Everything", post here for assistance.
Post Reply
burgundy
Posts: 273
Joined: Fri Oct 16, 2009 9:50 am

Regex with date functions

Post by burgundy »

Is there a way to search using regex and date functions (such as "dc:thisyear")?

For example, I would like to search for all files starting with the characters XYZ which were created this year.

(1) When I enable regex, Everything sees any date function part in the search bar as part of the regex expression.

(2) When I disable regex then I don't have a way of searching characters at the beginning of the file name.
void
Developer
Posts: 16848
Joined: Fri Oct 16, 2009 11:31 pm

Re: Regex with date functions

Post by void »

Search functions will not work when regex is enabled from the Search menu.

You can use search functions and regex at the same time with the regex: modifier, for example to find files modified this year, and files starting with XYZ, search for:
dm:thisyear regex:^XYZ

Note: Please make sure regex is disabled from the Search menu.
Note: Please make sure you escape spaces and | with double quotes when using the regex: modifier.
burgundy
Posts: 273
Joined: Fri Oct 16, 2009 9:50 am

Re: Regex with date functions

Post by burgundy »

Interesting. Thank you for the information.
Post Reply