summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKai Koehne <kai.koehne@digia.com>2014-03-14 12:21:25 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-03-19 15:43:46 +0100
commitb66950b342417d38b2f2992053b58ef59a84400b (patch)
tree0567a1929e2b22482642798a513616ddfa687931
parentb19b0808940c8c54b102012be134a370b26e348e (diff)
Fix typos in QRegExp documentation
Change-Id: I80bce716ac1c161fd87291ecdbf21eb8f3f25e5a Reviewed-by: André Hartmann <aha_1980@gmx.de> Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
-rw-r--r--src/corelib/tools/qregexp.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/corelib/tools/qregexp.cpp b/src/corelib/tools/qregexp.cpp
index d2b5adc974..cadf2da019 100644
--- a/src/corelib/tools/qregexp.cpp
+++ b/src/corelib/tools/qregexp.cpp
@@ -133,8 +133,8 @@ int qFindString(const QChar *haystack, int haystackLen, int from,
or \b{5}. An expression can also be a set of characters
enclosed in square brackets. \b{[ABCD]} will match an \b{A}
or a \b{B} or a \b{C} or a \b{D}. We can write this same
- expression as \b{[A-D]}, and an experession to match any
- captital letter in the English alphabet is written as
+ expression as \b{[A-D]}, and an expression to match any
+ capital letter in the English alphabet is written as
\b{[A-Z]}.
A quantifier specifies the number of occurrences of an expression