RegExp & UTF-8 in search dialog should be mutually exclu

Bug reports will be moved here when the described bug has been fixed

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
now
Member
Member
Posts: 181
Joined: 2006-11-01, 08:34 UTC

RegExp & UTF-8 in search dialog should be mutually exclu

Post by *now »

If I first check the “RegExp” option in the “Find Text” part of the dialog and then the “UTF-8”, the “RegExp” option is unchecked. This is very confusing, especially as I can then check the “RegExp” option again.

Either “RegExp” and “UTF-8” can be enabled at the same time, in which case “RegExp” shouldn’t become unchecked when enabling “UTF-8”, or, as soon as either option is checked, the other should be disabled.

Even better, switch to a regular expression library that supports more encodings (“UTF-16” also unchecks “RegExp”, but these options are at least mutually exclusive).
StatusQuo
Power Member
Power Member
Posts: 1524
Joined: 2007-01-17, 21:36 UTC
Location: Germany

Post by *StatusQuo »

Confirmed & agree.

From the Help about checkbox "UTF8":

Code: Select all

Note: At the moment, all UTF8-searches are case sensitive (due to limitations of the used search function).
Maybe the UTF8 option should have influenced the checkbox "case sensitive" instead then (forced to be on/maybe greyed out)?

In the help I found no comment like "Unicode/UTF8: can't be used together with RegEx option" or similar. :?
Preventing incompatible options is generally good IMO (and needs no translation ;) ), but could be clearer.
Who the hell is General Failure, and why is he reading my disk?
-- TC starter menu: Fast yet descriptive command access!
StatusQuo
Power Member
Power Member
Posts: 1524
Joined: 2007-01-17, 21:36 UTC
Location: Germany

Post by *StatusQuo »

Not changed in TC 7.03.
Who the hell is General Failure, and why is he reading my disk?
-- TC starter menu: Fast yet descriptive command access!
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

This problem has been postponed to TC 7.5 because I'm still looking for a way to make RegEx work with UTF-8.
Author of Total Commander
https://www.ghisler.com
Post Reply