in reply to Re: Upgrade to 5.18 causes uninitialized ${^MATCH}in thread Upgrade to 5.18 causes uninitialized ${^MATCH}
Yes, I overlooked the fact that $pat in my original example was pre-compiled with qr//.