text: Find Files RegEx vs Search RegEx in Lister - Total Commander
  Find Files RegEx vs Search RegEx in Lister
  Post by *SailorMax » 2015-11-17, 08:34 UTC
  1. create in directory 2 files: in UTF-8 format and in "Text only" format with text "aaabbbccc"
  2. Press Alt-F7 on the directory, turn on "Find text", enter "ab{2,}c", turn on RegEx, press Enter
  > Total commander will find both files
  3. select first file from list, press F3, press Ctrl-F, press Enter
  4. select second file from list, press F3, press Ctrl-F, press Enter
  Exp.: find in both files places with our substring
  Act.: in UTF-8 files Lister can't search RegExp => can't find substring positions. But File Finder can, in result we have strange situation...
  Post by *Ovg » 2015-11-17, 10:00 UTC
  Can't confirm for TC 8.52a x32/x64 under Win 7 x32/x64
  For me work fine in both cases
  Post by *elgonzo » 2015-11-18, 18:48 UTC
  I can confirm on Windows 7 x64 with TC 8.52a x64.
  Note that the sequence as described by SailorMax has to be followed exactly. Also notice that the 'Regex' checkbox is not visible in the lister search dialog when the view mode is either Unicode or UTF-8 -- which is an indicator that regex search is not really being supported for UTF and Unicode encodings (yet?).
  Interestingly, following SailorMax' steps but instead of CTRL+F and ENTER in the lister just pressing F3 makes the lister use the regex search pattern (inherited from the "Find files" dialog) without problems even when in in UTF-8 view mode. I guess that's what Ovg did...
  I guess that the behavior observed by SailorMax is an incidental side effect of the example files being made of ASCII characters only. Remember that ASCII characters (not including extended/high ASCII characters) are represented in UTF-8 by their original ASCII byte codes.
  By the way, enabling UTF-8 search in the "File find" dialog will uncheck the RegEx checkbox and vice versa -- which i take as a further indication that TC's regex search does not yet properly support UTF-8/UNICODE encodings.
  I guess the situation will be resolved when TC's regex engine will gain proper support for UTF and Unicode encodings.
  Post by *ghisler(Author) » 2015-11-19, 11:00 UTC
  This is a known limitation of TC 8.x. I have already added regex search for TC 9 in March. Unfortunately TC9 developement is currently stalling: I could not find an icon designer yet who could create icons in Windows 8/10 non-flat style, and handling background colors and tab icons by directory is also stalling (I find the method in twinkey too complex for the average user, but couldn't find a better solution yet).
  Post by *Lefteous » 2015-12-05, 13:18 UTC
  handling background colors and tab icons by directory is also stalling
  Mh I looked at the solution in twinkey and saw that there is a dropdown with a color-chooser. Is it the way the color is selected or the whole setting to dir assignment that makes trouble? Would be great if you could elaborate this in more detail.
  Post by *ghisler(Author) » 2015-12-07, 10:28 UTC
  Selecting the color or the icons isn't a problem, I have already added that. The problem is how to let the user choose in which directories to use which color scheme. If I implement that like in twinkey, I'm sure that only a handful of users would actually use it.