I made a Find Files search for the text "sky[0-9]" with RegEx checked and TC 6.01 found a couple of binary files, no problem with that. Then I pressed F3 (still in Find Files) on one of the files and then F3 again for finding the precise match in the file but TC reported "Not found". Weird ...
Checking one of the other files (F3 - F3) and then it was OK, TC found the spot in the file. Going back to the first file, tried again but TC still said "Not found". I then pressed F7 to change the search text to just "sky" and unchecked the RegEx box. Now TC found the spot in the file, a text "sky1".
Really confused, I changed the search text back to "sky[0-9]" and checked RegEx. Now TC reported "Not found" again.
I'm not a RegEx expert, but I believe there is something wrong here ...
Bug in Search RegEx ?
Moderators: Hacker, petermad, Stefan2, white
- ghisler(Author)
- Site Admin
- Posts: 50479
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
I guess that the display mode in lister for that file doesn't support regex, or the line in which the string appears is too long.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Well, it was the same (and default) display mode for both files (which were binary) and TC could only find the text in one of them. Since they were binary files, I can't see how the "line length" is of any relevance here.
The bottom line is, TC could find the RegEx text while searching in the Find Files operation, but the same RegEx expression in Lister didn't always work even if the text definitely was there. That is a bit disturbing.
The bottom line is, TC could find the RegEx text while searching in the Find Files operation, but the same RegEx expression in Lister didn't always work even if the text definitely was there. That is a bit disturbing.