Skip to content

Commit ed6cb28

Browse files
committed
Merge branch 'master' of https://github.com/perl6/doc
2 parents 6c977d8 + 6701bcf commit ed6cb28

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

doc/Type/Str.pod

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -518,6 +518,7 @@ object representing the successful match, or C<Any> otherwise.
518518
my $match = $some-string.subst-mutate(/foo/, "string");
519519
say $some-string; #-> Some string
520520
say $match; #-> 「foo」
521+
$some-string.subst-mutate(/<[oe]>/, '', :g); # remove all o'ss and e's, notice the :g named argument from .subst
521522
522523
=head2 routine substr
523524

0 commit comments

Comments
 (0)