Skip to content

Instantly share code, notes, and snippets.

@qiuhw
qiuhw / gist:1475234
Created December 14, 2011 04:14
Regex bug in Rakudo
The following test file
#===============================================
use Test;
ok 'aa-aa' ~~ / .+ '-' .+/;
ok 'aa-aa' ~~ / .+ '-' (.+)/;
ok 'aa-aa' ~~ / (.+) '-' .+/;
ok 'aa-aa' ~~ / (.+) '-' (.+)/;