[perl #83508] [BUG] Failed ()? captures should be Nil in Rakudo (nqp-rx)

2014-10-13 Thread Christian Bartolomaeus via RT
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

[perl #83508] [BUG] Failed ()? captures should be Nil in Rakudo (nqp-rx)

2012-10-20 Thread Will Coleda via RT
On Sat Oct 01 02:02:50 2011, bbkr wrote: > 2011.09 build > > bbkr:rakudo-2011.09 bbkr$ ./perl6 -e '"x" ~~ /(y)? (z)*/; say > $0.defined, $1.defined;' > Bool::FalseBool::False Changed again, but still wrong per Larry's comment: ./perl6 -e '"x" ~~ /(y)? (z)*/; say 0.defined, $1.defined;' TrueTrue

[perl #83508] [BUG] Failed ()? captures should be Nil in Rakudo (nqp-rx)

2011-02-06 Thread Carl Mäsak
# New Ticket Created by "Carl Mäsak" # Please include the string: [perl #83508] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=83508 > specs: a56ffc3 | larry++ | S (2 files): specs: make ?/* semantics consistently Nil/()