Find Files, RegEx, Result, Lister => lost RegEx

The behaviour described in the bug report is either by design, or would be far too complex/time-consuming to be changed

Moderators: Hacker, petermad, Stefan2, white

Post Reply
SailorMax
Member
Member
Posts: 121
Joined: 2007-03-15, 15:11 UTC

Find Files, RegEx, Result, Lister => lost RegEx

Post by *SailorMax »

my steps:
1. search in any directory file with substring by regular expression (in my case it was "*.php" with "\& \$[^\-]+\-\>CURRENT")
2. in "Search Results" choose first file (Text Only) and press F3, Ctrl-F
= Find dialog has option "RegEx" (Why this dialog named "Lister"? :) Not "Find"? )
3. close Lister, choose second file (UTF8) in "Search Results" and press F3, Ctrl-F
= Find dialog miss option "RegEx". But if close "Find" dialog and press F3, Lister will find our substring based on regular expression.

Looks like RegEx work only with not unicode files, but why then quick find (F3) work with them in same mode + Find in files found them?

When do you plan to add support unicode in RegEx searches? Or where I can turn off disabling RegEx for unicode files? :) I understand, its result can be broken, but it better for me, than "for some files it is disabled in Lister"

thank you.
Last edited by SailorMax on 2012-08-01, 07:46 UTC, edited 1 time in total.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50541
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Unicode in RegEx is only inofficially working this way because it's not reliable (e.g. Unicode inside EXE files). I could disable it alltogether, but then some other users may complain too...
Author of Total Commander
https://www.ghisler.com
Post Reply