diff options
Diffstat (limited to 'src/lib/util/corestr.h')
-rw-r--r-- | src/lib/util/corestr.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/util/corestr.h b/src/lib/util/corestr.h index d5b79ddb5fa..b000d76731c 100644 --- a/src/lib/util/corestr.h +++ b/src/lib/util/corestr.h @@ -77,6 +77,9 @@ int strreplace(std::string &str, const std::string& search, const std::string& r namespace util { +bool strequpper(std::string_view str, std::string_view ucstr); +bool streqlower(std::string_view str, std::string_view lcstr); + // based on Jaro-Winkler distance - returns value from 0.0 (totally dissimilar) to 1.0 (identical) double edit_distance(std::u32string_view lhs, std::u32string_view rhs); |