1.5 content search not use regex

Discussion related to "Everything" 1.5 Alpha.
Post Reply
yhuis
Posts: 7
Joined: Mon Jan 28, 2019 10:50 am

1.5 content search not use regex

Post by yhuis »

.txt regex:content:"abc.*" use this search expression,why regex".*" matching is the string '.*', not matching any characters?
void
Developer
Posts: 16773
Joined: Fri Oct 16, 2009 11:31 pm

Re: 1.5 content search not use regex

Post by void »

What is your exact search?

Please make sure there's a colon after regex.

For example:
.txt regex:content:".*"
yhuis
Posts: 7
Joined: Mon Jan 28, 2019 10:50 am

Re: 1.5 content search not use regex

Post by yhuis »

void wrote: Sat May 13, 2023 5:16 am What is your exact search?

Please make sure there's a colon after regex.

For example:
.txt regex:content:".*"
I apologize for the confusion. While regular expressions can be used to search for patterns in .txt files, it appears that the search engine does not support regular expression searches for the contents of .mas files, despite them being text files.
void
Developer
Posts: 16773
Joined: Fri Oct 16, 2009 11:31 pm

Re: 1.5 content search not use regex

Post by void »

There might be an iFilter getting in the way.

Please try the following search:

*.mas regex:text-plain-content:.*

text-plain-content:



To view the content Everything is reading, please try the following search:

*.mas regex:text-plain-content:(.*) addcolumn:regmatch1

Content is shown in the regmatch1 column.



text_plain_extensions
Post Reply