Search with plugins, 'contains(regex)' instead of 'regex' OP

Here you can propose new features, make suggestions etc.

Moderators: Hacker, petermad, Stefan2, white

Post Reply
User avatar
MVV
Power Member
Power Member
Posts: 8711
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Search with plugins, 'contains(regex)' instead of 'regex' OP

Post by *MVV »

I think 'contains(regex) and '!contains(regex)' is much more logical than just 'regex' and '!regex' since TC searches not exact match but text that contains (or not contains) specified regular expression. String doesn't reguire additional translation, since 1577 line has translated 'contains' and 'regex' (also translated) in braces may be appended to it.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50541
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Unfortunately this would break all existing saved searches, so I prefer to leave it as it is now. I will move this thread to "suggestions".
Author of Total Commander
https://www.ghisler.com
User avatar
MVV
Power Member
Power Member
Posts: 8711
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

I think you can leave INI line format as is but in Plugins tab of Search dialog display 'contains(regex)' instead of 'regex', so all will work fine. :)
Translated operator names already can have another names than specified in INI.
Post Reply