QRegularExpression
implements Perl-compatible regular expressions. It fully supports Unicode.
QRegExp
is modeled on Perl's regexp language. It fully supports Unicode.
... the new QRegularExpression class ... is recommended in place of QRegExp.
The most valued benefit will come when migrating to Qt 6, where QRegExp requires usage of an additional Core5Compat module.
Instead, all use cases of QRegExp could be ported to QRegularExpression.
Useful skills:
basic C++, Qt, regular expressions
Want to work on this issue?
For guidance on contributing, please read CONTRIBUTING.md before opening your pull request.
QRegularExpressionQRegExpThe most valued benefit will come when migrating to Qt 6, where
QRegExprequires usage of an additionalCore5Compatmodule.Instead, all use cases of
QRegExpcould be ported toQRegularExpression.Useful skills:
basic C++, Qt, regular expressions
Want to work on this issue?
For guidance on contributing, please read CONTRIBUTING.md before opening your pull request.