
the Perl's regular expression documentation and the Perl's regular expression tutorial.the pcrepattern(3) man page, describing the pattern syntax supported by PCRE (the reference implementation of Perl-compatible regular expressions).Mastering Regular Expressions (Third Edition) by Jeffrey E.Good references about regular expressions include: This document is by no means a complete reference to pattern matching using regular expressions, and the following parts will require the reader to have some basic knowledge about Perl-like regular expressions and their pattern syntax. Ī regexp can be used to identify where a string should be split apart, e.g. is an integer or contains no whitespace.Ī regexp provides more powerful pattern matching than simple substring matching, e.g., match one of the words mail, letter or correspondence, but none of the words email, mailman, mailer, letterbox, etc.Ī regexp can replace all occurrences of a substring with a different substring, e.g., replace all occurrences of & with & except where the & is already followed by an amp. Operator=(const QRegularExpression & re) constĪ regexp can test whether a substring meets some criteria, e.g. Operator!=(const QRegularExpression & re) const SetPatternOptions(QRegularExpression::PatternOptions options) Match(QStringView subject, int offset = 0, QRegularExpression::MatchType matchType = NormalMatch, QRegularExpression::MatchOptions matchOptions = NoMatchOption) const Match(const QStringRef & subjectRef, int offset = 0, QRegularExpression::MatchType matchType = NormalMatch, QRegularExpression::MatchOptions matchOptions = NoMatchOption) const

Match(const QString & subject, int offset = 0, QRegularExpression::MatchType matchType = NormalMatch, QRegularExpression::MatchOptions matchOptions = NoMatchOption) const

GlobalMatch(QStringView subject, int offset = 0, QRegularExpression::MatchType matchType = NormalMatch, QRegularExpression::MatchOptions matchOptions = NoMatchOption) const GlobalMatch(const QStringRef & subjectRef, int offset = 0, QRegularExpression::MatchType matchType = NormalMatch, QRegularExpression::MatchOptions matchOptions = NoMatchOption) const GlobalMatch(const QString & subject, int offset = 0, QRegularExpression::MatchType matchType = NormalMatch, QRegularExpression::MatchOptions matchOptions = NoMatchOption) const QRegularExpression(const QString & pattern, QRegularExpression::PatternOptions options = NoPatternOption) QRegularExpression(const QRegularExpression & re)
