Add basic Collator::find() method.
[dcpomatic.git] / src / lib / collator.h
index d422781248b063bc0d9f0a54e7d12d3a76fda9d1..1768c43c09595d3ef880b79b67549343a7ea5c28 100644 (file)
@@ -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;