Skip to content

Commit

Permalink
fix examples
Browse files Browse the repository at this point in the history
  • Loading branch information
coke committed Feb 17, 2017
1 parent a92b760 commit 99aa1b7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/Type/Str.pod6
Expand Up @@ -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␤»
Expand Down

0 comments on commit 99aa1b7

Please sign in to comment.