File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -798,15 +798,15 @@ common modifiers that you will use are probably C<:g> and C<:i>.
798
798
799
799
Ordinarily substitutions are only made once in a given string, but adding the
800
800
C < :g > modifier overrides that behavior, so that replacements are made
801
- everywhere possible. Substitutions will never overlap , so for instance:
801
+ everywhere possible. Substitutions are non-recursive , so for instance:
802
802
803
803
$_ = q{I can say "banana" but I don't know when to stop};
804
- s:g/na/nana,/; # Substitute 'nana' for 'na'
805
- .say; # ... "banana,nana,"
804
+ s:g/na/nana,/; # Substitute 'nana, ' for 'na'
805
+ .say; # I can say "banana,nana," but I don't ...
806
806
807
807
Even though the substitution doubled the number of C < na > 's in the string, the
808
808
substitution only took place twice. Which is to say the substitution only
809
- applies to the original string, the targeted string does not count.
809
+ applies to the original string; the targeted string does not count.
810
810
811
811
= item Insensitive adverb C < :i >
812
812
You can’t perform that action at this time.
0 commit comments