Search > 'Find text' > Like a Search Engine

Here you can propose new features, make suggestions etc.

Moderators: Hacker, petermad, Stefan2, white

Post Reply
Lope
Junior Member
Junior Member
Posts: 22
Joined: 2010-09-26, 14:17 UTC

Search > 'Find text' > Like a Search Engine

Post by *Lope »

I'd like to be able to search for files that contain multiple phrases.
Like 'dog' and 'biscuit' but they might not occur exactly as "dog biscuit"
The file might contain "I feed my dog biscuits as a reward"
Most people don't know/understand Regular Expressions.

I'm suggesting that TC should behave the same way a search engine does.
Most people are familiar with google's syntax, so that would be suitable.
There should be a new Checkbox, 'Exact Phrase' which is ticked by default; you can untick it (and it will save its unticked state) and then it will behave like a search engine.

So you can do searches like
term1 term2 -term3
(dog|cat) biscuits
"I feed my (dog|cat) * as a reward"
User avatar
MVV
Power Member
Power Member
Posts: 8711
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

Don't support. Many people that familiar with TC and other file managers for many years expect actual behaviour and not Windows one.
User avatar
Balderstrom
Power Member
Power Member
Posts: 2148
Joined: 2005-10-11, 10:10 UTC

Post by *Balderstrom »

(dog|cat) biscuits
Regex: (dog|cat).*biscuits

"I feed my (dog|cat) * as a reward"
Regex: I feed my (dog|cat) .* as a reward
or more accurately, use word boundary:
Regex: I feed my (dog|cat) \b.*\b as a reward
or, allow plural dogs|cats ...
Regex: I feed my (dog|cat)s? \b.*\b as a reward
Not that different from the watered down syntax that search engines allow us to use. Not only that but google used to actually search what you typed in quotes as an exact string -- it no longer does so. It will allow different spellings, plurals and all number of things.
To actually get the search results from google or other engines now, you need to do an excessive number of -excludes to even try to override it's inane logic.

You'd be much better off trying to learn something new -- as I doubt this request will meet much support from other users or the author :-)
Lope
Junior Member
Junior Member
Posts: 22
Joined: 2010-09-26, 14:17 UTC

Post by *Lope »

Interesting.
I reckon they call it RegEx because you need to use it regularly to be able to use it :)
User avatar
Samuel
Power Member
Power Member
Posts: 1930
Joined: 2003-08-29, 15:44 UTC
Location: Germany, Brandenburg an der Havel
Contact:

Post by *Samuel »

I had the same idea (google like search) and wrote the plugin: QuickSearch eXtended

You may use it with TCs Quickfilter feature.
If you want to search for files in subdirectories you could switch to branch view before using Quickfilter.
Post Reply