Created
February 3, 2017 18:54
-
-
Save zoffixznet/98f82d29f6671d57c53374f677141b33 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
zoffix@leliana:/tmp/tmp.YvNSdWF7by$ perl6 -e '"a b c" ~~ m:g/(\w+)/; say $/' | |
(「a」 | |
0 => 「a」 「b」 | |
0 => 「b」 「c」 | |
0 => 「c」) | |
zoffix@leliana:/tmp/tmp.YvNSdWF7by$ perl6 -e '"a b c" ~~ m:g/(\w+)/; $/».gist.join("\n-------\n").say' | |
「a」 | |
0 => 「a」 | |
------- | |
「b」 | |
0 => 「b」 | |
------- | |
「c」 | |
0 => 「c」 | |
zoffix@leliana:/tmp/tmp.YvNSdWF7by$ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment