This seems like a bug, but I thought I'd ask here before reporting it. $_ = '1:'; s/.<?after '1:'>/x/; .say;
This prints "1x". Is that what's supposed to happen somehow? I would have thought that '1:' should only match a literal "1:", leaving nothing for the dot to match.