TC 10.52
1. Create text file with string "033\\^\033".
2. try find text "033\\^\033" in viewer or by Alt-F7 in current dir (both without regexp) - no result.
TC treat \\ as \ and search "033\\^\033" as "033\^\033"...
Search text (as text) '\\' treat as '\' (as regexp)
Moderators: white, Hacker, petermad, Stefan2
Re: Search text (as text) '\\' treat as '\' (as regexp)
2Garrett
so use this:
033\\\^\\033
Or you want to understand - why in principle TC treat \\ as \? even if we do not tick checkmark for RegExp?
so use this:
033\\\^\\033
Or you want to understand - why in principle TC treat \\ as \? even if we do not tick checkmark for RegExp?
#146217 personal license
Re: Search text (as text) '\\' treat as '\' (as regexp)
2Garrett
This is not a bug, it is a feature:
This is not a bug, it is a feature:
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: \\ .
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Re: Search text (as text) '\\' treat as '\' (as regexp)
Maybe it's better to make the special codes work only if there is a check mark on the regular expressions checkbox?