Date: 2010-05-28 02:10:37 +0200 (Fri, 28 May 2010)
New Revision: 30878
[S05] clarify :ratchet behavior with input from pmichaud++
--- docs/Perl6/Spec/S05-regex.pod 2010-05-27 20:14:36 UTC (rev 30877)
+++ docs/Perl6/Spec/S05-regex.pod 2010-05-28 00:10:37 UTC (rev 30878)
@@ -536,8 +536,9 @@
The new C<:ratchet> modifier causes this regex to not backtrack by default.
(Generally you do not use this modifier directly, since it's implied by
C<token> and C<rule> declarations.) The effect of this modifier is
-to imply a C<:> after every construct that could backtrack, including
-bare C<*>, C<+>, and C<?> quantifiers, as well as alternations.
+to imply a C<:> after every atom, including but not not limited to
+C<*>, C<+>, and C<?> quantifiers, as well as alternations. Explicit
+backtracking modifiers on quantified atoms, such as C<**>, will override this.
(Note: for portions of patterns subject to longest-token analysis, a C<:>
is ignored in any case, since there will be no backtracking necessary.)