Enable unicode regular expressions in ignore phrases too

This commit is contained in:
Rasmus Karlsson 2018-06-24 14:56:34 +00:00
parent eae2c2c521
commit 715d208b6d

View file

@ -29,7 +29,8 @@ public:
: pattern(_pattern)
, _isRegex(isRegex)
, regex(_isRegex ? _pattern : "\\b" + QRegularExpression::escape(_pattern) + "\\b",
QRegularExpression::CaseInsensitiveOption)
QRegularExpression::CaseInsensitiveOption |
QRegularExpression::UseUnicodePropertiesOption)
{
}