From 8e45592c5703451563eaf4edcd7033f80ce23b53 Mon Sep 17 00:00:00 2001 From: Phil Jones Date: Fri, 12 Aug 2022 23:14:32 +0100 Subject: Add --fuzzy_match option. This enables some simple fuzzy matching logic for searches. --- src/fuzzy_match.h | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 src/fuzzy_match.h (limited to 'src/fuzzy_match.h') diff --git a/src/fuzzy_match.h b/src/fuzzy_match.h new file mode 100644 index 0000000..df4d298 --- /dev/null +++ b/src/fuzzy_match.h @@ -0,0 +1,8 @@ +#ifndef FUZZY_MATCH_H +#define FUZZY_MATCH_H + +#include + +int32_t fuzzy_match(const char *restrict pattern, const char *restrict str); + +#endif /* FUZZY_MATCH_H */ -- cgit v1.2.3