That's the difficult part, because it requires complete parsing of the regular expression.converting RegEx expression to lowercase?
+Regexp don't works in some dialogs
Moderators: Hacker, petermad, Stefan2, white
- ghisler(Author)
- Site Admin
- Posts: 50541
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
MarcinW wrote:What about converting all filenames (internally) to lowercase, and also converting RegEx expression to lowercase?ghisler(Author) wrote:Users can make case-sensitive searches with RegEx. This could have the bad effect that a file is only found on one side when it has different case on the other side...
No it doesn't. But I think the user should be warned that a case sensitive filter is not supported. Same for defined searches when support for this is added.ghisler(Author) wrote:That's the difficult part, because it requires complete parsing of the regular expression.converting RegEx expression to lowercase?
To check if a regular expression contains a modifier setting that turns off case insensitivity shouldn't be that hard when using a regular expression

Code: Select all
(^|[^\\])\(\?[^-)]*-[^)]*i[^)]*\)
- ghisler(Author)
- Site Admin
- Posts: 50541
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
2MVV
Sorry, that's not how it works: TC first reads the complete left side, then the complete right side. The filter is applied separately while reading each side - this is much faster because TC has to deal with a much smaller list (only the matching files are added to the list).
Sorry, that's not how it works: TC first reads the complete left side, then the complete right side. The filter is applied separately while reading each side - this is much faster because TC has to deal with a much smaller list (only the matching files are added to the list).
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com