summaryrefslogtreecommitdiffstats
path: root/src/corelib/doc/src
diff options
context:
space:
mode:
authorAndreas Buhr <andreas.buhr@qt.io>2020-12-01 11:29:36 +0100
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2020-12-01 15:58:05 +0000
commit48558bbb67d59c0bfe410474106e7661bdc2dcb2 (patch)
treedf97db0f57ae9825f417be3899190cc8ab22e863 /src/corelib/doc/src
parenta55783c81d26a4ef88ab37041f84a50663134d2a (diff)
Fix qdoc warning about unknown commands
Qdoc generated warnings like the following: qt6-changes.qdoc:771: (qdoc) warning: Unknown command '\w' This patch correctly escapes backslashes to fix these warnings. Task-number: QTBUG-88533 Change-Id: I7849f49fd0e950c3c366cfa88b299f827b39c05a Reviewed-by: Karsten Heimrich <karsten.heimrich@qt.io> (cherry picked from commit 20e341d495e3c8653ab5dbde83b1d5ab945fb513) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'src/corelib/doc/src')
-rw-r--r--src/corelib/doc/src/qt6-changes.qdoc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/corelib/doc/src/qt6-changes.qdoc b/src/corelib/doc/src/qt6-changes.qdoc
index 0f589f3127..1b9d70c78e 100644
--- a/src/corelib/doc/src/qt6-changes.qdoc
+++ b/src/corelib/doc/src/qt6-changes.qdoc
@@ -768,11 +768,11 @@
\section3 Unicode properties support
- When using \c QRegExp, character classes such as {\w}, {\d}, etc. match
- characters with the corresponding Unicode property: for instance, {\d}
+ When using \c QRegExp, character classes such as \c{\w}, \c{\d}, etc. match
+ characters with the corresponding Unicode property: for instance, \c{\d}
matches any character with the Unicode Nd (decimal digit) property. Those
character classes only match ASCII characters by default. When using \l
- QRegularExpression: for instance, {\d} matches exactly a character in the
+ QRegularExpression: for instance, \c{\d} matches exactly a character in the
0-9 ASCII range. It is possible to change this behavior by using the \l
{QRegularExpression::UseUnicodePropertiesOption}
pattern option.