summaryrefslogtreecommitdiff
path: root/src/lib/collator.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2023-01-17 17:21:55 +0100
committerCarl Hetherington <cth@carlh.net>2023-01-17 17:21:55 +0100
commit1671e097a24cd169f1ad4ea89b0cb3ae105b1e70 (patch)
treed73310cfeaed193f374794f6ba646fb8a01008cc /src/lib/collator.h
parent9ec2dbd7c1127406dfc08f9f86ef540cdc820579 (diff)
Add basic Collator::find() method.
Diffstat (limited to 'src/lib/collator.h')
-rw-r--r--src/lib/collator.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/collator.h b/src/lib/collator.h
index d42278124..1768c43c0 100644
--- a/src/lib/collator.h
+++ b/src/lib/collator.h
@@ -39,6 +39,7 @@ public:
Collator& operator=(Collator const&) = delete;
int compare(std::string const& utf8_a, std::string const& utf8_b) const;
+ bool find(std::string pattern, std::string text) const;
private:
UCollator* _collator = nullptr;