Hi,
I'm trying to perform a search in commandline where the -searchfor string shall be interpreted as a regular expression. In the documentation I cannot find out how to do that.
Please don't tell me that this is not possible!!!
eg: AFR.exe -min -execute:find -searchfor te['+\s]*st
Regular Expression Search in command line mode
Re: Regular Expression Search in command line mode
OK, I got it.
You can set RegExp in the GUI mode and save the configuration in the Action menu.
You can make your own cfg file in Action - Save Configuration as...
The cfg file can always be edited with any text editor. The RegEx options are:
FindUseRegExp=true (which represents the RegEx in the Action - Options... - Find Menu)
QueryType=4 (which represents the RegExp RadioButton option on the main Find GUI)
I did not figure out the difference between these two options so far. But when set like above regex search is working.
When calling the afr via commandline you set the -config [PATH]\default.cfg
Attention, when MinimizeToTray=true AFR does not exit even if you set -exit in the commandline.
You can set RegExp in the GUI mode and save the configuration in the Action menu.
You can make your own cfg file in Action - Save Configuration as...
The cfg file can always be edited with any text editor. The RegEx options are:
FindUseRegExp=true (which represents the RegEx in the Action - Options... - Find Menu)
QueryType=4 (which represents the RegExp RadioButton option on the main Find GUI)
I did not figure out the difference between these two options so far. But when set like above regex search is working.
When calling the afr via commandline you set the -config [PATH]\default.cfg
Attention, when MinimizeToTray=true AFR does not exit even if you set -exit in the commandline.