]> git.sesse.net Git - plocate/commit
Use globs if there are wildcards in the pattern.
authorSteinar H. Gunderson <steinar+git@gunderson.no>
Sat, 10 Oct 2020 17:18:52 +0000 (19:18 +0200)
committerSteinar H. Gunderson <steinar+git@gunderson.no>
Sat, 10 Oct 2020 17:20:51 +0000 (19:20 +0200)
commit567546a0c6a930f240f0b76d21c9573d948f4b73
tree8dee79563ea24c86ea6907869edb66e72228c8d7
parentc28d24e937196869416aa0bf653ef0a5d92ffda7
Use globs if there are wildcards in the pattern.

This matches mlocate behavior; even the sort-of strange behavior
of having them non-anchored. Case-insensitive matching has also
been changed away from regex, since fnmatch() is seemingly slightly
faster.
parse_trigrams.cpp
parse_trigrams.h
plocate.cpp