"Ctrl S"-Quick search: how to set the option using the keyboard ?

English support forum

Moderators: white, Hacker, petermad, Stefan2

Post Reply
sexy69
Member
Member
Posts: 124
Joined: 2016-06-22, 17:21 UTC

"Ctrl S"-Quick search: how to set the option using the keyboard ?

Post by *sexy69 »

There are 2 ways to search in "Ctrl S"
There is match_beginning = 0 or 1 in TCmatch.ini
Can I set the search method using the keyboard?
User avatar
Samuel
Power Member
Power Member
Posts: 1930
Joined: 2003-08-29, 15:44 UTC
Location: Germany, Brandenburg an der Havel
Contact:

Re: "Ctrl S"-Quick search: how to set the option using the keyboard ?

Post by *Samuel »

This is related to QuickSearch eXtended. (tcmatch.ini is a file of it)

There is a setting "simple_search_match_beginning_activate_char=^" that could be used.

You can search for "Test" at the beginning by writing "^Test". (if the option above uses the default char "^")
You can search for "Test" anywhere by writing "Test".
sexy69
Member
Member
Posts: 124
Joined: 2016-06-22, 17:21 UTC

Re: "Ctrl S"-Quick search: how to set the option using the keyboard ?

Post by *sexy69 »

match_beginning=1

I want to find movies from year: 2017

when I enter only 2, I already have this result,
and when I add 0, nothing will be left.

211 (2018).srt
2.22 (2017).srt
21 Bridges (2019).srt
22 July (2018).srt


match_beginning=0

I want to find, for example, movies that begin with
letter A ... does not look at all

I have to manually change 0 to 1 and vice versa in the TCmatch.ini file

Even the options do not have this option.
User avatar
nsp
Power Member
Power Member
Posts: 1804
Joined: 2005-12-04, 08:39 UTC
Location: Lyon (FRANCE)
Contact:

Re: "Ctrl S"-Quick search: how to set the option using the keyboard ?

Post by *nsp »

Switching config is not the best imo. You can use verb to change the search mode dynamically.
Give a look on the helper pgm tcmatch(64).exe change syntax tab. you can define a verb to switch from default search to match only at beginning. (Second choice) usualy set as ^.

with match_beginning=0 in config:
search 2017 will filter to all file containing 2017
search ^2017 will filter to all file starting by 2017

if you default regex, you have to change the ^ verb as it is already part of regexp search !
sexy69
Member
Member
Posts: 124
Joined: 2016-06-22, 17:21 UTC

Re: "Ctrl S"-Quick search: how to set the option using the keyboard ?

Post by *sexy69 »

with match_beginning=0 in config:
search 2017 will filter to all file containing 2017
search ^2017 will filter to all file starting by 2017

That is OK
Thanks.
Post Reply