[solved] strange result in search with a dot in the string
Moderators: Hacker, petermad, Stefan2, white
-
- Senior Member
- Posts: 202
- Joined: 2010-12-12, 10:05 UTC
- Location: Amiens
[solved] strange result in search with a dot in the string
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 ?
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.
- ghisler(Author)
- Site Admin
- Posts: 50549
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
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*
*in.black*
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
-
- Senior Member
- Posts: 202
- Joined: 2010-12-12, 10:05 UTC
- Location: Amiens
but i also tried with 2 dots, and TC still continue to search in its waysghisler(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*
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.
- ghisler(Author)
- Site Admin
- Posts: 50549
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
-
- Senior Member
- Posts: 202
- Joined: 2010-12-12, 10:05 UTC
- Location: Amiens
not confirmed because it is not a bug (i understand the . feature)ghisler(Author) wrote:Not confirmed.
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.
- ghisler(Author)
- Site Admin
- Posts: 50549
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
2Lefteous
How would you search for an exact match then?
How would you search for an exact match then?
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
- ghisler(Author)
- Site Admin
- Posts: 50549
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
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...
file1 file2
finds these two files, and
"file1 file2"
finds a file with this full name...
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com