diff options
author | Dave Davenport <qball@gmpclient.org> | 2016-08-25 08:43:40 +0200 |
---|---|---|
committer | Dave Davenport <qball@gmpclient.org> | 2016-08-25 21:17:58 +0200 |
commit | 20e55e1e4e7a084e2e86c16e5b3f0497a14773a4 (patch) | |
tree | e3a45cbbbf93135bcafbdced2878bac0282d2fe6 /test | |
parent | a657f81145465df1d8a75bedb1b56a0e99d541e0 (diff) |
Add fuzzy matching, make a -matching option.
* -matching *method* option instead of -regex, -glob, -fuzzy.
* Re-add fuzzy matching pattern.
* When there are substrings in regex, only highlight those matches.
Fixes: #447
Diffstat (limited to 'test')
-rwxr-xr-x | test/run_glob_test.sh | 2 | ||||
-rwxr-xr-x | test/run_regex_test.sh | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/test/run_glob_test.sh b/test/run_glob_test.sh index 800b6222..52a5595a 100755 --- a/test/run_glob_test.sh +++ b/test/run_glob_test.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -echo -en "nooty\naap\nnoot\nmies" | rofi -glob -dmenu > output.txt & +echo -en "nooty\naap\nnoot\nmies" | rofi -matching glob -dmenu > output.txt & RPID=$! # send enter. diff --git a/test/run_regex_test.sh b/test/run_regex_test.sh index 454a9686..55c18e13 100755 --- a/test/run_regex_test.sh +++ b/test/run_regex_test.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -echo -en "nooty\naap\nnoot\nmies" | rofi -regex -dmenu > output.txt & +echo -en "nooty\naap\nnoot\nmies" | rofi -matching regex -dmenu > output.txt & RPID=$! # send enter. |