# New Ticket Created by 柯拓 # Please include the string: [perl #127042] # in the subject line of all future correspondence about this issue. # <URL: https://rt.perl.org/Ticket/Display.html?id=127042 >
$ perl6 -e 'say "foo".subst(/<?after ^>/, "^").subst(/<?after $>/, "\$")'$foo^ # should be ^foo$