[solved] strange result in search with a dot in the string

The behaviour described in the bug report is either by design, or would be far too complex/time-consuming to be changed

Moderators: Hacker, petermad, Stefan2, white

Post Reply
Michael REMY
Senior Member
Senior Member
Posts: 202
Joined: 2010-12-12, 10:05 UTC
Location: Amiens

[solved] strange result in search with a dot in the string

Post by *Michael REMY »

hi,

i don't know whenever it is a bug or misunderstodd thing (maybe the dot is particular).

i have a files list with a file named "woman.in.black.avi".

when i search "black", there is the right result.

but when i search "in.black" there is nothing
even when i search "woman.in" there is nothing too !
and when i search "woman" there is the result

does the dot (.) is special in search string ?
Last edited by Michael REMY on 2015-05-04, 13:52 UTC, edited 1 time in total.
i'm an old long user of TC since the windows 3.11 release !, for the history, i came to tc when i migrate from amiga commodore to PC where they are diskmanager and directory opus there.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50550
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Yes, the dot is special, when you include at least one dot, TC will search for the EXACT MATCH. So just surround your search strings with a '*' on each side, e.g.
*in.black*
Author of Total Commander
https://www.ghisler.com
Michael REMY
Senior Member
Senior Member
Posts: 202
Joined: 2010-12-12, 10:05 UTC
Location: Amiens

Post by *Michael REMY »

ghisler(Author) wrote:Yes, the dot is special, when you include at least one dot, TC will search for the EXACT MATCH. So just surround your search strings with a '*' on each side, e.g.
*in.black*
but i also tried with 2 dots, and TC still continue to search in its ways

so ".in.black" does return any result wheras there must be one
i'm an old long user of TC since the windows 3.11 release !, for the history, i came to tc when i migrate from amiga commodore to PC where they are diskmanager and directory opus there.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50550
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Not confirmed.
Author of Total Commander
https://www.ghisler.com
Michael REMY
Senior Member
Senior Member
Posts: 202
Joined: 2010-12-12, 10:05 UTC
Location: Amiens

Post by *Michael REMY »

ghisler(Author) wrote:Not confirmed.
not confirmed because it is not a bug (i understand the . feature)

or because you didn't manage to reproduce the double dot string search (previous message) ?
i'm an old long user of TC since the windows 3.11 release !, for the history, i came to tc when i migrate from amiga commodore to PC where they are diskmanager and directory opus there.
User avatar
Lefteous
Power Member
Power Member
Posts: 9537
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

2ghisler(Author)
Yes, the dot is special, when you include at least one dot, TC will search for the EXACT MATCH. So just surround your search strings with a '*' on each side, e.g.
*in.black*
Bug or not - for me this is and always has been a _very_ odd behavior.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50550
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

2Lefteous
How would you search for an exact match then?
Author of Total Commander
https://www.ghisler.com
User avatar
Lefteous
Power Member
Power Member
Posts: 9537
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

How would you search for an exact match then?
Using quotes. I think this is something really quite common.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50550
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

But that collides with multiple search strings, e.g.
file1 file2
finds these two files, and
"file1 file2"
finds a file with this full name...
Author of Total Commander
https://www.ghisler.com
Post Reply