@@ -87,7 +87,7 @@ Some characters, like ``'|'`` or ``'('``, are special. Special
8787characters either stand for classes of ordinary characters, or affect
8888how the regular expressions around them are interpreted.
8989
90- Repetition qualifiers (``* ``, ``+ ``, ``? ``, ``{m,n} ``, etc) cannot be
90+ Repetition operators or quantifiers (``* ``, ``+ ``, ``? ``, ``{m,n} ``, etc) cannot be
9191directly nested. This avoids ambiguity with the non-greedy modifier suffix
9292``? ``, and with other modifiers in other implementations. To apply a second
9393repetition to an inner repetition, parentheses may be used. For example,
@@ -146,10 +146,10 @@ The special characters are:
146146 single: ??; in regular expressions
147147
148148``*? ``, ``+? ``, ``?? ``
149- The ``'*' ``, ``'+' ``, and ``'?' `` qualifiers are all :dfn: `greedy `; they match
149+ The ``'*' ``, ``'+' ``, and ``'?' `` quantifiers are all :dfn: `greedy `; they match
150150 as much text as possible. Sometimes this behaviour isn't desired; if the RE
151151 ``<.*> `` is matched against ``'<a> b <c>' ``, it will match the entire
152- string, and not just ``'<a>' ``. Adding ``? `` after the qualifier makes it
152+ string, and not just ``'<a>' ``. Adding ``? `` after the quantifier makes it
153153 perform the match in :dfn: `non-greedy ` or :dfn: `minimal ` fashion; as *few *
154154 characters as possible will be matched. Using the RE ``<.*?> `` will match
155155 only ``'<a>' ``.
@@ -160,11 +160,11 @@ The special characters are:
160160 single: ?+; in regular expressions
161161
162162``*+ ``, ``++ ``, ``?+ ``
163- Like the ``'*' ``, ``'+' ``, and ``'?' `` qualifiers , those where ``'+' `` is
163+ Like the ``'*' ``, ``'+' ``, and ``'?' `` quantifiers , those where ``'+' `` is
164164 appended also match as many times as possible.
165- However, unlike the true greedy qualifiers , these do not allow
165+ However, unlike the true greedy quantifiers , these do not allow
166166 back-tracking when the expression following it fails to match.
167- These are known as :dfn: `possessive ` qualifiers .
167+ These are known as :dfn: `possessive ` quantifiers .
168168 For example, ``a*a `` will match ``'aaaa' `` because the ``a* `` will match
169169 all 4 ``'a'``s, but, when the final ``'a' `` is encountered, the
170170 expression is backtracked so that in the end the ``a* `` ends up matching
@@ -198,15 +198,15 @@ The special characters are:
198198``{m,n}? ``
199199 Causes the resulting RE to match from *m * to *n * repetitions of the preceding
200200 RE, attempting to match as *few * repetitions as possible. This is the
201- non-greedy version of the previous qualifier . For example, on the
201+ non-greedy version of the previous quantifier . For example, on the
202202 6-character string ``'aaaaaa' ``, ``a{3,5} `` will match 5 ``'a' `` characters,
203203 while ``a{3,5}? `` will only match 3 characters.
204204
205205``{m,n}+ ``
206206 Causes the resulting RE to match from *m * to *n * repetitions of the
207207 preceding RE, attempting to match as many repetitions as possible
208208 *without * establishing any backtracking points.
209- This is the possessive version of the qualifier above.
209+ This is the possessive version of the quantifier above.
210210 For example, on the 6-character string ``'aaaaaa' ``, ``a{3,5}+aa ``
211211 attempt to match 5 ``'a' `` characters, then, requiring 2 more ``'a'``s,
212212 will need more characters than available and thus fail, while
0 commit comments