Page 1 of 1

logical operators in filter

Posted: 03.08.2010, 23:33
by LazyLefty
I use the filter (CTRL+F) extensively for isolating files with certain fragments in their names. I do NOT typically care about the file extension.
I am unable to find a way to filter for two different fragments at the same time.
For example, I want to display all files with "abc" somewhere in their names AND all files with "xyz" somewhere in their names.
Am I missing the obvious, or should this be a feature request?

Re: logical operators in filter

Posted: 04.08.2010, 01:17
by H.Seldon
Will the following work?

*abc*.*;*xyz*.*

Re: logical operators in filter

Posted: 04.08.2010, 01:33
by bugmenot
You may find handy activating the quick filter box, right click on the status bar. For your request, use wildcards.

* - The asterisk takes the value of any number of characters.
? - The question mark matches any single character.

abc*xyz matches abc123xyz
abc?xyz matches abc1xyz, abc2xyz, but not abc12xyz

Re: logical operators in filter

Posted: 04.08.2010, 21:23
by H.Seldon
If you look just below the edit box of the filter dialog, the examples show how to filter multiple extensions, as well as multiple names. In order to find multiple fragments in filenames, ignoring extension use:

*abc*.*;*xyz*.*

This will locate fragment abc, or xyz anywhere in the filename. The asterisk will replace any character. Thus 'abc' can be preceded by 0 or more characters, and can be followed by 0 or more characters, as can 'xyz'. The '.*' indicates any extension. The semicolon separates the filters.