On Wed Jan 12 09:29:31 2011, masak wrote:
> <masak> rakudo: $_ = 'foo'; s:g/ /a/; say 'alive'
> <p6eval> rakudo 8681da: OUTPUT«alive»
> <masak> std: $_ = 'foo'; s:g/ /a/
> <p6eval> std 625303c: OUTPUT«[31m===[0mSORRY![31m===[0mNull
> pattern not allowed [...] FAILED 00:01 122m»
> * masak submits rakudobug
This now dies correctly:
19:46 < [Coke]> m: $_ = 'foo'; s:g/ /a/; say 'alive'
19:46 <+camelia> rakudo-moar 974d00: OUTPUT«===SORRY!=== Error while compiling
/tmp/LZQwMHpP5hNull regex not allowedat
/tmp/LZQwMHpP5h:1------> $_ = 'foo'; s:g/ ⏏/a/; say 'alive'
expecting any of: colon pair (restricted)»
Closable with tests.
--
Will "Coke" Coleda