# New Ticket Created by  Zoffix Znet 
# Please include the string:  [perl #132120]
# in the subject line of all future correspondence about this issue. 
# <URL: https://rt.perl.org/Ticket/Display.html?id=132120 >


IRC: https://irclog.perlgeek.de/perl6/2017-09-18#i_15181575

We can use $0 here to refer to previous capture and regex matches:
    m: say "11" ~~ /(\d)[$0]/
    rakudo-moar 48a84d: OUTPUT: «「11」␤ 0 => 「1」␤»

But if we capture that match, the match fails:
    m: say "11" ~~ /(\d)([$0])/
    rakudo-moar 48a84d: OUTPUT: «Nil␤»

Reply via email to