-
-
Save moritz/698e186c9fbe45d2c887998f0bbf7588 to your computer and use it in GitHub Desktop.
Raku Match.gist output
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ ./rakudo-m -e ' for ("a1a2a3a4a5" ~~ m:g/(a \d)/) { say "match {$++}: ", $_}' | |
match 0: 「a1」 | |
0 => 「a1」 | |
match 0: 「a2」 | |
0 => 「a2」 | |
match 0: 「a3」 | |
0 => 「a3」 | |
match 0: 「a4」 | |
0 => 「a4」 | |
match 0: 「a5」 | |
0 => 「a5」 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment