# New Ticket Created by Stephane Payrard # Please include the string: [perl #109874] # in the subject line of all future correspondence about this issue. # <URL: https://rt.perl.org:443/rt3/Ticket/Display.html?id=109874 >
> grammar A { rule TOP { ^ } }; say A.parse(' ') #<failed match> > The relevant spec is probably S05:355 When you write rule TOP { ^ <stuff> $ } this is the same as token TOP { ^ <.ws> <stuff> <.ws> $ <.ws> } discussed with jonathan at http://irclog.perlgeek.de/perl6/2012-02-05#i_5106223 A test should probably added spec/S05-grammar/ws.t : grammar A { rule TOP { ^ } }; ok ?A.parse(' '), 'no <.ws> shoved before ^'; -- cognominal stef