I have found an error in the current version of Totalcmd and in version 9.0, both in 32-bit and 64-bit.
In the "Find Files" window, searching for the text "\t" does not find any files containing that text. However, files containing a TAB character (char 0x09) are found.
In the attached image, you can see a file named "ppp.txt" that contains the text 'hola\tools\dd'
[img]https://i.ibb.co/3mPh3B6K/tc-2.jpg[/img]
It can be reproduced as follows:
1) Open the "Find Files" window.
2) Leave the default settings.
3) Check "Find text".
4) Enter the text "\too" (for example) in the box on the right.
5) Click "Start search".
6) The search ends without finding the file "pppt.txt."
Searching with the uppercase T ("\T") does find the file.
This leads me to believe that Total Commander is treating "\t" (in lowercase) as a TAB char, even with the RegEx option (2) not activated.
Best regards.
Error searching in files a text with \t
Moderators: Hacker, petermad, Stefan2, white
Re: Error searching in files a text with \t
This is not a bug but documented behavior:
To find the string "\t" you need to input "\\t".TC help wrote:Find text
If this option is checked, you can enter text to be searched. With \t you find tabstops, and with \n line breaks (ENTER) in texts. To find a backslash \, you need to give it twice: \\
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64
Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64
Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
Re: Error searching in files a text with \t
Oh, I see now.
It's even mentioned in the help. Just to be clear, I searched the forums and couldn't find anything similar. Now that I know what I'm looking for, I have found posts identical to this one.
Is there any way to disable this behavior? Maybe in the *.ini files?
Sorry for this post.
Thank you.
It's even mentioned in the help. Just to be clear, I searched the forums and couldn't find anything similar. Now that I know what I'm looking for, I have found posts identical to this one.
Is there any way to disable this behavior? Maybe in the *.ini files?
Sorry for this post.
Thank you.
Re: Error searching in files a text with \t
Regretfully, no.Juancho wrote: 2025-04-05, 11:49 UTC Is there any way to disable this behavior? Maybe in the *.ini files?
You can add your support for such a feature in these threads:
- ghisler(Author)
- Site Admin
- Posts: 50383
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: Error searching in files a text with \t
Moderator message from: ghisler(Author) » 2025-04-06, 07:08 UTC
Moved to will not be changed
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: Error searching in files a text with \t
Thanks, Dalai and White.
Ghisler, I admire you
Ghisler, I admire you