On Mon Aug 23 09:32:08 2010, pawel.pab...@implix.com wrote:
> This code:
> "" ~~ /m ** 1..-1 /
> 
> Gives following message:
> "Only integers or '*' allowed as range quantifier endpoint"
> 
> I think that error message should say "positive integers" or "unsigned
> integers" because -1 IS also an integer.
> 
> I don't know what STD says about it, because eval on IRC seems to be
> currently
> down

01:40 <[Coke]> r: "" ~~ /m ** 1..-1 /
01:40 <camelia> rakudo bfd850: OUTPUT«===SORRY!===␤Negative numbers are not
                allowed as range quantifier endpoint␤at
                /tmp/QI9W2dDDrG:1␤------> "" ~~ /m ** 1..-1⏏ /␤»
01:41 <[Coke]> std: "" ~~ /m ** 1..-1 /
01:41 <camelia> std b33d8e0: OUTPUT«===SORRY!===␤Malformed range at
                /tmp/bftAQl82Sb line 1:␤------> "" ~~ /m ** 1..⏏-1 /␤
                expecting quantifier␤Parse failed␤FAILED 00:01 43m␤»

I'd say this meets the criteria of the original bug report. Closable with 
tests, I think.


-- 
Will "Coke" Coleda

Reply via email to