search if a filename includes parentheses

Features wanted...
Post Reply
Leopoldus
Posts: 237
Joined: 24 Jun 2004 10:58

search if a filename includes parentheses

Post by Leopoldus »

There is no any option to search a file by a fragment of its name if this fragment includes parentheses, isn't it? Even option "Exact match" does not help.

I can suggest what is the reason on this limitation, this is parentheses syntax of search queries. But in some cases you may need to use parentheses in your query just as the natural element of file name, not as syntax sign of the query itself.

Is it possible to give some option to search by filename with parentheses?
For instance you could add some preceding sign (eg \) to put Tracker to handle a bracket as a symbol in filename, but not a syntax sign in a query.
Another option would be to check which two symbols precede the parentheses. If they are any logical operator + space, the parentheses is very possibly the syntax sign, but if they are any other symbol + space the parentheses is rather a natural symbol of filename.

And I think, that it is logical to handle any symbol in a query as a natural symbol when the option "Exact match" is enabled.
Last edited by Leopoldus on 20 May 2005 07:05, edited 1 time in total.

admin
Site Admin
Posts: 64242
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: search if a filename includes parenthesis

Post by admin »

Actually you can escape "(" with "\". Try again.


Exact match is something else (but I admit it's ill-named and I'm open to suggestions!): if unchecked the search accepts partial matches, for example:

dog matches mydoggy.txt only if Exact match is unchecked, else it would only match a file called "dog".

In other words: leaving Exact match unchecked is the same as adding an * to the start and to the end of the search term: *dog*.

Leopoldus
Posts: 237
Joined: 24 Jun 2004 10:58

Re: search if a filename includes parentheses

Post by Leopoldus »

admin wrote:Exact match is something else (but I admit it's ill-named and I'm open to suggestions!)
No, I don't think that "Exact Match" is not correct in this meaning, it is a common use of this term.

Yes, I do understand what the option "Exact Match" for. But as far as it is not possible to use logical operations if the option "Exact Match" is enabled, it would be logical to set that parentheses mean a natural symbol in spite of escape sign preceding. It would be especially convenient when you search for the whole filename you've pasted into "Name" window from some other application or a document, because you don't need to edit this name manually after pasting.

admin
Site Admin
Posts: 64242
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: search if a filename includes parentheses

Post by admin »

Leopoldus wrote:... But as far as it is not possible to use logical operations if the option "Exact Match" is enabled...
But it is possible! You just have to take care for the wild cards.
*cat* or *dog* (with Exact match on) will find cat.txt and mydog.txt.

Leopoldus
Posts: 237
Joined: 24 Jun 2004 10:58

Re: search if a filename includes parentheses

Post by Leopoldus »

admin wrote:But it is possible! You just have to take care for the wild cards.
Sorry, you are right (as always!).
But how is about a new little checkbox (something like "natural name" or something else) in the "Name & Location" tab to set, that all symbols in window "Name" are natural?
Purpose? To avoid manually editing file name, if it is pasted from other application or document. You see, if you need to find only one file in this manner, there is no problems. But what if you have to repeat this operation for 100 files?

admin
Site Admin
Posts: 64242
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: search if a filename includes parentheses

Post by admin »

The idea is okay, but I need something better than "natural name".

Leopoldus
Posts: 237
Joined: 24 Jun 2004 10:58

Re: search if a filename includes parentheses

Post by Leopoldus »

admin wrote:The idea is okay, but I need something better than "natural name".
File name "as is"?
Original filename
Treat all symbols as filename
Enable logical opeators (enabled as deafault)

Sorry, my English is not quite perfect for linguistics studies. ;)

admin
Site Admin
Posts: 64242
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: search if a filename includes parentheses

Post by admin »

Leopoldus wrote:
admin wrote:The idea is okay, but I need something better than "natural name".
File name "as is"?
Original filename
Treat all symbols as filename
Enable logical opeators (enabled as deafault)

Sorry, my English is not quite perfect for linguistics studies. ;)
I'm no English man neither, but maybe one is watching this and will jump at us in case of emergency...
I like the last best, only it's so long, hrrrmpf (German for arrgh). What about these?:
Boolean Logic (enabled as default)
Boolean Syntax (enabled as default)

I like the idea as well because the checkbox will advertise that Boolean Logic is possible, otherwise a user might never find out.

admin
Site Admin
Posts: 64242
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: search if a filename includes parentheses

Post by admin »

admin wrote:Boolean Logic
I just did it, check the new BETA :D

Post Reply