Multi Commander Support Forum

Multi Commander => Support and Feedback => Topic started by: docbitter on September 30, 2019, 22:41:58

Title: regex (search) and regex (match)
Post by: docbitter on September 30, 2019, 22:41:58
These are new options for the filename search on the Find Files dialog: regex (search) and regex (match).

I cannot think of any difference between "search" and "match". Are these "terms of art" for Regexp experts? The manual has nothing on this.

Please explain or point me at something that explains.
Title: Re: regex (search) and regex (match)
Post by: Mathias (Author) on October 01, 2019, 08:21:30
New? no it's been there for some years

Im not a a big RegEx users so I'm not sure.

But I found this about the difference

regex_match only returns true when the entire input sequence has been matched,
while regex_search will succeed even if only a sub-sequence matches the regex