[perl #109874] BUG: should match: grammar A { rule TOP { ^ } }; say A.parse(' ')

2014-04-13 Thread Alexander Moquin via RT
On Sun Jul 28 10:05:00 2013, masak wrote: masak r: grammar G { token TOP { ^foo$ }; rule foo { foo } }; say ? G.parse( foo) camelia rakudo 96776b: OUTPUT«True␤» masak r: grammar G { token TOP { ^foo$ }; rule foo {foo } }; say ? G.parse( foo) camelia rakudo 96776b: OUTPUT«False␤» masak I

[perl #109874] BUG: should match: grammar A { rule TOP { ^ } }; say A.parse(' ')

2013-07-28 Thread Carl Mäsak via RT
masak r: grammar G { token TOP { ^foo$ }; rule foo { foo } }; say ? G.parse( foo) camelia rakudo 96776b: OUTPUT«True␤» masak r: grammar G { token TOP { ^foo$ }; rule foo {foo } }; say ? G.parse( foo) camelia rakudo 96776b: OUTPUT«False␤» masak I thought rules ignored initial whitespace... moritz

[perl #109874] BUG: should match: grammar A { rule TOP { ^ } }; say A.parse(' ')

2012-02-05 Thread via RT
# 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