From 24dc5973868358d56afb375cc01c5db7d06c9fbd Mon Sep 17 00:00:00 2001 From: Samuel Gaist Date: Wed, 24 Jun 2015 11:41:16 +0200 Subject: Add reference to QRegularExpression Currently there's no mention of QRegularExpression in QRegExp's documentation. This makes it hard to find QRegularExpression for user used to QRegExp. This patch adds that missing reference. Task-number: QTBUG-46816 Change-Id: If3a981d5759fbed3eecd07e046882e6da378cc4e Reviewed-by: Oswald Buddenhagen Reviewed-by: Sze Howe Koh --- src/corelib/tools/qregexp.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/corelib/tools/qregexp.cpp') diff --git a/src/corelib/tools/qregexp.cpp b/src/corelib/tools/qregexp.cpp index cd8c393d51..f896828e2e 100644 --- a/src/corelib/tools/qregexp.cpp +++ b/src/corelib/tools/qregexp.cpp @@ -115,6 +115,10 @@ int qFindString(const QChar *haystack, int haystackLen, int from, A good text on regexps is \e {Mastering Regular Expressions} (Third Edition) by Jeffrey E. F. Friedl, ISBN 0-596-52812-4. + \note In Qt 5, the new QRegularExpression class provides a Perl + compatible implementation of regular expressions and is recommended + in place of QRegExp. + \tableofcontents \section1 Introduction -- cgit v1.2.3