From 715d208b6d032e11c3f633a183f1936c1c011a6a Mon Sep 17 00:00:00 2001 From: Rasmus Karlsson Date: Sun, 24 Jun 2018 14:56:34 +0000 Subject: [PATCH] Enable unicode regular expressions in ignore phrases too --- src/controllers/ignores/ignorephrase.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/controllers/ignores/ignorephrase.hpp b/src/controllers/ignores/ignorephrase.hpp index 4fdef9ffa..0be4ca105 100644 --- a/src/controllers/ignores/ignorephrase.hpp +++ b/src/controllers/ignores/ignorephrase.hpp @@ -29,7 +29,8 @@ public: : pattern(_pattern) , _isRegex(isRegex) , regex(_isRegex ? _pattern : "\\b" + QRegularExpression::escape(_pattern) + "\\b", - QRegularExpression::CaseInsensitiveOption) + QRegularExpression::CaseInsensitiveOption | + QRegularExpression::UseUnicodePropertiesOption) { }