The significance of whole word with extension
-
nagan
- Posts: 302
- Joined: Thu Apr 18, 2013 11:44 am
The significance of whole word with extension
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: 19902
- Joined: Fri Oct 16, 2009 11:31 pm
Re: The significance of whole word with extension
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:
Note the word breaks ( and )
But will not match:
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:
Note the ] is a word break.
The following will not match:
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.
for example, the whole word search ABC will match:
Code: Select all
(ABC)But will not match:
Code: Select all
12ABC34The . itself is not treated as a word break.
For example, the whole word search .txt will match:
Code: Select all
[ABC].txtThe following will not match:
Code: Select all
ABC.txtThis will sometimes match even though there there was no word break.
Thanks for pointing this out.
Please check your results by enabling match diacritics.