Skip to content

Commit 57ab2de

Browse files
committed
Add an example for multi method comb(Str:D :)
1 parent 66b49f8 commit 57ab2de

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

doc/Type/Str.pod6

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -262,6 +262,7 @@ If no matcher is supplied, a list of characters in the string
262262
263263
Examples:
264264
265+
say "abc".comb.perl; # ("a", "b", "c").Seq
265266
say comb(/\w/, "a;b;c").perl; # ("a", "b", "c").Seq
266267
say comb(/\N/, "a;b;c").perl; # ("a", ";", "b", ";", "c").Seq
267268
say comb(/\w/, "a;b;c", 2).perl; # ("a", "b").Seq

0 commit comments

Comments
 (0)