Skip to content

Commit 9f731e5

Browse files
committed
[S05] add :r alias for :ratchet
std, rakudo and niecza already support it anyway
1 parent a69961f commit 9f731e5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

S05-regex.pod

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,7 @@ The single-character modifiers also have longer versions:
213213
:i :ignorecase
214214
:m :ignoremark
215215
:g :global
216+
:r :ratchet
216217

217218
=item *
218219

@@ -546,7 +547,7 @@ not a (presumably immutable) string value.]
546547

547548
=item *
548549

549-
The new C<:ratchet> modifier causes this regex to not backtrack by default.
550+
The new C<:r> or C<:ratchet> modifier causes this regex to not backtrack by default.
550551
(Generally you do not use this modifier directly, since it's implied by
551552
C<token> and C<rule> declarations.) The effect of this modifier is
552553
to imply a C<:> after every atom, including but not limited to

0 commit comments

Comments
 (0)