in reply to Re: Regex being stupid
in thread Regex being stupid

While it is true that @( is a valid variable name, it doesn’t interpolate:
@( = (42, 12); # valid statement print "@("; # doesn’t print '4212' but '@(' print '@('; # same as above (obviously)
Thus, the @ in the regex doesn’t need escaping, strictly speaking. I’d still recommend escaping it, for clarity and maintainability.