Problems with Open-Source Downloads read https://www.qt.io/blog/problem-with-open-source-downloads and https://forum.qt.io/post/638946
Is there principal difference between QRegularExpression and QRegExp?
-
Hello!
Which is better to use QRegularExpression and QRegExp? Is there principal difference between this two classes?
-
Hi
You should use QRegularExpression
Docs says
Note: In Qt 5, the new QRegularExpression class provides a Perl compatible implementation of regular expressions and is recommended in place of QRegExp.So i guess the biggest difference is its compatibility
-
Hi,
QRegExp is a custom regular expression implementation.
QRegularExpression uses PCRE as a backend.
Also, QRegExp should be considered deprecated and not used in new code.