diff --git a/src/controllers/highlights/highlightphrase.hpp b/src/controllers/highlights/highlightphrase.hpp index 7346295d3..052752c43 100644 --- a/src/controllers/highlights/highlightphrase.hpp +++ b/src/controllers/highlights/highlightphrase.hpp @@ -33,7 +33,8 @@ public: , sound(_sound) , _isRegex(isRegex) , regex(_isRegex ? _pattern : "\\b" + QRegularExpression::escape(_pattern) + "\\b", - QRegularExpression::CaseInsensitiveOption) + QRegularExpression::CaseInsensitiveOption | + QRegularExpression::UseUnicodePropertiesOption) { }