@@ -630,7 +630,7 @@ These principle result in the following rules:
630
630
631
631
The C<:ignorecase>, C<:ignoremark>, C<:sigspace>, C<:ratchet> and C<:Perl5>
632
632
modifiers and their short forms are allowed everywhere: inside a regex,
633
- and on C<m//>, C<rx//> and C<s//> constructs. An implementation may require
633
+ and on C<m//>, C<rx//> and C<s/// > constructs. An implementation may require
634
634
that their value is known at compile time, and give a compile-time error
635
635
message if that is not the case.
636
636
@@ -652,7 +652,7 @@ allowed on matches (ie C<m//>), not on substitutions or regex quotes.
652
652
=item *
653
653
654
654
The C<:pos>, C<:continue>, C<:x> and C<:nth> modifiers and their aliases are
655
- only allowed on constructs that involve immediate calls, eg. C<m//> and C<s//>
655
+ only allowed on constructs that involve immediate calls, eg. C<m//> and C<s/// >
656
656
(but not on C<rx//>).
657
657
658
658
=item *
@@ -2420,7 +2420,7 @@ and these are equivalent to
2420
2420
$string ~~ m/^ <.ws> \d+: <.ws> $/;
2421
2421
2422
2422
The basic rule of thumb is that the keyword-defined methods never
2423
- do implicit C<.*?>-like scanning, while the C<m//> and C<s//>
2423
+ do implicit C<.*?>-like scanning, while the C<m//> and C<s/// >
2424
2424
quotelike forms do such scanning in the absence of explicit anchoring.
2425
2425
2426
2426
The C<rx//> and C<//> forms can go either way: they scan when used
0 commit comments