diff options
-rw-r--r-- | src/corelib/text/qregexp.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/corelib/text/qregexp.cpp b/src/corelib/text/qregexp.cpp index 345fc70dd8..bf76a1992c 100644 --- a/src/corelib/text/qregexp.cpp +++ b/src/corelib/text/qregexp.cpp @@ -737,6 +737,11 @@ QT_BEGIN_NAMESPACE \li QRegExp by default does Unicode-aware matching, while QRegularExpression requires a separate option; see below for more details. + \li c{.} in QRegExp does by default match all characters, including the + newline character. QRegularExpression excludes the newline character by + default. To include the newline character, set the + QRegularExpression::DotMatchesEverythingOption pattern option. + \endlist \section2 Porting from QRegExp::exactMatch() |