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


IRC: https://irclog.perlgeek.de/perl6/2017-09-01#i_15101726

If `^` or `«` is used in `<after>` the match fails:

15:13   ab6tract        m: say "What::Root::Thing" ~~ /<?after ^ 
"What::Root::"> .*/; say "What::Root::Thing" ~~ /<?after "What::Root::"> .*/
15:13   camelia         rakudo-moar 909688: OUTPUT: «Nil??Thing??»

15:23           m: say ".zXXXYzYYY" ~~ /<?after « z> .../
15:23   camelia         rakudo-moar 909688: OUTPUT: «Nil?»

Even though, `<|w>` and `<!|w>` in `<after>` as well as `$` in `<before>` do 
work:

15:23           m: say ".zXXXYzYYY" ~~ /<?after <|w> z> .../
15:23   camelia         rakudo-moar 909688: OUTPUT: «?XXX??»
15:23   Zoffix  m: say ".zXXXYzYYY" ~~ /<?after <!|w> z> .../
15:23   camelia         rakudo-moar 909688: OUTPUT: «?YYY??»

15:17           m: say "XXXzYYYz" ~~ /... <before z> /
15:17   camelia         rakudo-moar 909688: OUTPUT: «?XXX?? before => ???»
15:17   Zoffix  m: say "XXXzYYYz" ~~ /... <before z$> /
15:17   camelia         rakudo-moar 909688: OUTPUT: «?YYY?? before => ???»

Reply via email to