This works now (again):

$ perl6-m -e '"x" ~~ /(y)? (z)*/; say $0.defined; say $1.defined;'
False
True

I added a test to S05-match/capturing-contexts.t with the following commit: 
https://github.com/perl6/roast/commit/ae245a65f6

Reply via email to