Skip to content

Commit e8bea71

Browse files
committed
s// -> s/// from jlaire++
1 parent 6faacb9 commit e8bea71

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

S05-regex.pod

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -630,7 +630,7 @@ These principle result in the following rules:
630630

631631
The C<:ignorecase>, C<:ignoremark>, C<:sigspace>, C<:ratchet> and C<:Perl5>
632632
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
634634
that their value is known at compile time, and give a compile-time error
635635
message if that is not the case.
636636

@@ -652,7 +652,7 @@ allowed on matches (ie C<m//>), not on substitutions or regex quotes.
652652
=item *
653653

654654
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///>
656656
(but not on C<rx//>).
657657

658658
=item *
@@ -2420,7 +2420,7 @@ and these are equivalent to
24202420
$string ~~ m/^ <.ws> \d+: <.ws> $/;
24212421

24222422
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///>
24242424
quotelike forms do such scanning in the absence of explicit anchoring.
24252425

24262426
The C<rx//> and C<//> forms can go either way: they scan when used

0 commit comments

Comments
 (0)