Permalink
Browse files

fix examples

  • Loading branch information...
1 parent a92b760 commit 99aa1b7065fcecdb37a891ed05964d28e9a199c9 @coke coke committed Feb 17, 2017
Showing with 2 additions and 2 deletions.
  1. +2 −2 doc/Type/Str.pod6
View
@@ -336,8 +336,8 @@ If no matcher is supplied, a list of characters in the string
Examples:
say "abc".comb.perl; # OUTPUT: «("a", "b", "c").Seq␤»
- say 'abcdefghijk'.comb(3).perl # OUTPUT: «("abc", "def", "ghi", "jk").Seq␤»
- say 'abcdefghijk'.comb(3, 2).perl # OUTPUT: «("abc", "def").Seq␤»
+ say 'abcdefghijk'.comb(3).perl; # OUTPUT: «("abc", "def", "ghi", "jk").Seq␤»
+ say 'abcdefghijk'.comb(3, 2).perl; # OUTPUT: «("abc", "def").Seq␤»
say comb(/\w/, "a;b;c").perl; # OUTPUT: «("a", "b", "c").Seq␤»
say comb(/\N/, "a;b;c").perl; # OUTPUT: «("a", ";", "b", ";", "c").Seq␤»
say comb(/\w/, "a;b;c", 2).perl; # OUTPUT: «("a", "b").Seq␤»

0 comments on commit 99aa1b7

Please sign in to comment.