Page 1 of 1

More wide open AND operator

Posted: Mon Oct 11, 2010 8:18 am
by thedarkmist
If I search for a file called "name secondname thirdname" using the key "name thirdname" the result is empty.
How can I make everything more smart?

Re: More wide open AND operator

Posted: Mon Oct 11, 2010 2:32 pm
by yaruk
thedarkmist wrote:If I search for a file called "name secondname thirdname" using the key "name thirdname" the result is empty.
How can I make everything more smart?
you could search for it without quotes.
name thirdname

there can be anything in between those strings in the filename.
e,g,
in windows xp (tested on sp3), I see there's a file with some spaces.. "windows xp critical stop.wav" or "windows xp ding.wav"
windows ding <-- picks it up.

or you could try name*thirdname (that * is like in dos, any mix of chars any number of times)

or you could enable regex and use a regex .. do
name.*thirdname
or
name.+thirdname
(in regex, that dot is not a literal dot, it is means any character, and * means that DOT(any character). zero or more times. + means 1 or more times.