summaryrefslogtreecommitdiffstats
path: root/src/tools/qregexp.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/qregexp.cpp')
-rw-r--r--src/tools/qregexp.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/tools/qregexp.cpp b/src/tools/qregexp.cpp
index 16734913..133e04eb 100644
--- a/src/tools/qregexp.cpp
+++ b/src/tools/qregexp.cpp
@@ -18,7 +18,7 @@
** and the KDE Free TQt Foundation.
**
** Please review the following information to ensure GNU General
-** Public Licensing retquirements will be met:
+** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please
** review the following information:
@@ -155,7 +155,7 @@
will fail.
We'll start by writing a regexp to match integers in the range 0
- to 99. We will retquire at least one digit so we will start with
+ to 99. We will require at least one digit so we will start with
<b>[0-9]{1,1}</b> which means match a digit exactly once. This
regexp alone will match integers in the range 0 to 9. To match one
or two digits we can increase the maximum number of occurrences so
@@ -526,7 +526,7 @@
TQRegExp's quantifiers are the same as Perl's greedy quantifiers.
Non-greedy matching cannot be applied to individual quantifiers,
but can be applied to all the quantifiers in the pattern. For
- example, to match the Perl regexp <b>ro+?m</b> retquires:
+ example, to match the Perl regexp <b>ro+?m</b> requires:
\code
TQRegExp rx( "ro+m" );
rx.setMinimal( TRUE );