Regex in search

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

Moderators: white, Hacker, petermad, Stefan2

Post Reply
rienvanham
Junior Member
Junior Member
Posts: 18
Joined: 2014-01-11, 11:45 UTC

Regex in search

Post by *rienvanham »

Perhaps not a bug but as designed: if I do a search with the checkbox 'RegEx' enabled; close the dialog and open it again then this checkbox is disabled. In other words: it doesn't remember the state of this box. This is very annoying because everytime I have to switch it on.

Thanks in advance!
User avatar
petermad
Power Member
Power Member
Posts: 14739
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: Regex in search

Post by *petermad »

It is by design - the same applies to the "Find text:" checkbox

I too would like to see the state of the checked boxes in the "Find Files" dialog to be preserved between searches, at least within the same TC-session. Maybe as an optionial parameter in wincmd.ini.
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50b4 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
Stefan2
Power Member
Power Member
Posts: 4133
Joined: 2007-09-13, 22:20 UTC
Location: Europa

Re: Regex in search

Post by *Stefan2 »

How about that....


You can save your search settings ( Load/Save tab, save as "mySavedSearchSettings")
and open that with the internal command LOADSEARCH

Next create an User defined Command
[em_MySearchSettings]
cmd=LOADSEARCH mySavedSearchSettings

For that UDC em_MySearchSettings assign a keyboard shortcut, even the default one as you open the search now.
That way instead of the default search settings, always your saved search settings are loaded.



Not tested yet with that specific checkbox settings.

In more details explain over there > viewtopic.php?p=390483#p390483



 
User avatar
petermad
Power Member
Power Member
Posts: 14739
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: Regex in search

Post by *petermad »

2Stefan2
Not tested yet with that specific checkbox settings
Just checked - The RegEx setting is also included in a saved search
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50b4 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Post Reply