[perl #77022] Grammar.parse doesn't anchor to the end of the parsed string

2010-08-07 Thread Carl Mäsak via RT
ekiru (>): > [1:38pm] tylercurtis: rakudo: grammar Foo { token TOP { 'b' } }; say > Foo.parse('abc').Bool; # this is right > [1:38pm] p6eval: rakudo 19931f: OUTPUT«0␤» > [1:38pm] tylercurtis: rakudo: grammar Foo { token TOP { 'b' } }; say > Foo.parse('bc').Bool; # I don't think this is. > [1:38pm]

[perl #77022] Grammar.parse doesn't anchor to the end of the parsed string

2010-08-05 Thread via RT
# New Ticket Created by Tyler Curtis # Please include the string: [perl #77022] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=77022 > [1:38pm] tylercurtis: rakudo: grammar Foo { token TOP { 'b' } }; say Foo.parse('abc').Bo