Enable Unicode support in QRegularExpression where needed
This fixes a QRegularExpression porting bug, QRegExp is always Unicode-aware whereas with QRegularExpression Unicode support is enabled by the setting UseUnicodePropertiesOption flag.
Add a small unit test.
For more details see: ktexteditor#10 (closed)