mirror of
https://github.com/davatorium/rofi.git
synced 2024-11-11 13:50:48 -05:00
[Matching] Make fuzzy matching non-greedy
This commit is contained in:
parent
4f1169e326
commit
97ac7c9348
1 changed files with 1 additions and 1 deletions
|
@ -160,7 +160,7 @@ static gchar *fuzzy_to_regex ( const char * input )
|
|||
g_string_append ( str, "(" );
|
||||
}
|
||||
else {
|
||||
g_string_append ( str, ".*(" );
|
||||
g_string_append ( str, ".*?(" );
|
||||
}
|
||||
if ( *iter == '\\' ) {
|
||||
g_string_append_c ( str, '\\' );
|
||||
|
|
Loading…
Reference in a new issue