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


say "asdfEnd" ~~ /:ratchet [ xyz | .+! ] End /;
=> Nil

I would expect this to match.

I also tested (and work as I'd expect):
say "asdfEnd" ~~ / [ xyz | .+ ] End /;
=>「asdfEnd」
say "asdfEnd" ~~ /:ratchet [ xyz || .+! ] End /;
=> 「asdfEnd」

Reply via email to