The significance of whole word with extension

Have a suggestion for "Everything"? Please post it here.
Post Reply
nagan
Posts: 302
Joined: Thu Apr 18, 2013 11:44 am

The significance of whole word with extension

Post by nagan »

Supppose I search for extension .avi or .txt and then press ctrl B (whole word modifier) , the number of objects come down drastically. I am unable to read the reason looking at the files. Would there be a particular logic to it? Case modifier makes a distinction between .txt and .TXT. But the whole word I do not understand...
void
Developer
Posts: 17155
Joined: Fri Oct 16, 2009 11:31 pm

Re: The significance of whole word with extension

Post by void »

With whole word enabled, your search must exist between word breaks (characters like spaces and punctuation).

for example, the whole word search ABC will match:

Code: Select all

(ABC)
Note the word breaks ( and )

But will not match:

Code: Select all

12ABC34
When you include a . in your search that too must exist within word breaks.
The . itself is not treated as a word break.
For example, the whole word search .txt will match:

Code: Select all

[ABC].txt
Note the ] is a word break.

The following will not match:

Code: Select all

ABC.txt
However, you have found a bug when match diacritics is disabled.
This will sometimes match even though there there was no word break.
Thanks for pointing this out.

Please check your results by enabling match diacritics.
Post Reply