Skip to content

Replace QRegExp with QRegularExpression #578

@hebasto

Description

@hebasto

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions