On Thu, 17 Nov 2016 14:32:19 -0800, alex.jakime...@gmail.com wrote:
> *Code:*
> say ‘abcefghij’ ~~ / .**{0..^2} /
> 
> *Result:*
> 「ab」
> 
> I expected 「a」
> 
> 
> *Code:*
> say ‘abcefghij’ ~~ / .**{2^..^2} /
> 
> *Result:*
> 「ab」
> 
> I expected it not to match anything (as if it was 3..1).


Thank you for the report. This is now fixed.

Fix:  https://github.com/rakudo/rakudo/commit/681d6be9742e7c0
Test: https://github.com/perl6/roast/commit/99c822abdeefbbaf0

Reply via email to