Both TC x64/x86:
If you go to find text in files (i.e. in UTF-9 formatted .cs-files) and there are some containing strings like: Char c = '\\';
In Find text (Options ANSI charset (Windows) and UTF-8 enabled) type in:'\\'
No results...
In Find text (Options ANSI charset (Windows) and RegEx (2)) type in:.*'\\\\'.*
Results...
-TC8.50 b8: Double Backslashes in Searchtext not found
Moderators: Hacker, petermad, Stefan2, white
-
- Senior Member
- Posts: 350
- Joined: 2005-08-13, 15:13 UTC
- Location: Berlin, Germany
- Contact:
According to help topic,
I tested it with ANSI file with mentioned string (UTF-8 looks like ANSI when there are no non-latin characters). Please provide file sample where it doesn't work for you. Can you see file contents with TC lister by F3?
Your regex works for me w/o changes.To find a backslash \, you need to give it twice: \\ .
I tested it with ANSI file with mentioned string (UTF-8 looks like ANSI when there are no non-latin characters). Please provide file sample where it doesn't work for you. Can you see file contents with TC lister by F3?
Re: TC8.50 b8: Double Backslashes in Searchtext not found
That is correct. Like MVV said, also for normal search you need to double the \ character.TychoBarfy wrote:In Find text (Options ANSI charset (Windows) and UTF-8 enabled) type in:'\\'
No results...
TOTALCMD.CHM 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: \\ .
-
- Senior Member
- Posts: 350
- Joined: 2005-08-13, 15:13 UTC
- Location: Berlin, Germany
- Contact:
Re: TC8.50 b8: Double Backslashes in Searchtext not found
That's it and it makes sense. Sorry for my silly post!white wrote:That is correct. Like MVV said, also for normal search you need to double the \ character.TOTALCMD.CHM 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: \\ .
Please close this thread!
Thanks MVV and white
-- TB --