logical operators in filter

Discussion, questions and support.
Post Reply
Message
Author
LazyLefty
Posts: 1
Joined: 03.08.2010, 21:22

logical operators in filter

#1 Post by LazyLefty » 03.08.2010, 21:33

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?

User avatar
H.Seldon
Posts: 73
Joined: 06.03.2008, 02:51

Re: logical operators in filter

#2 Post by H.Seldon » 03.08.2010, 23:17

Will the following work?

*abc*.*;*xyz*.*

bugmenot
Posts: 29
Joined: 20.02.2008, 10:27

Re: logical operators in filter

#3 Post by bugmenot » 03.08.2010, 23:33

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

User avatar
H.Seldon
Posts: 73
Joined: 06.03.2008, 02:51

Re: logical operators in filter

#4 Post by H.Seldon » 04.08.2010, 19:23

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.

Post Reply

Who is online

Users browsing this forum: No registered users and 14 guests