Incorrect automatic Perl regex syntax

Becoming a Perl bandit, in this question I had to escape my regex expression \: to avoid funny syntaxing. Now on my newest Perl question, I encounter the same issue. Can this be fixed somehow?

• Should I just escape them all?
• Go to google/code-prettify with the issue (doubtful if they do something about it)?
• Any other ideas? Maybe I'm missing something obvious?
• I hate to be so cynical, but based on this question (and the absence of an answer) on Meta.SE, I have a feeling that syntax highlighting is pretty low on the priority list... – Phrancis Nov 18 '17 at 20:19
• @Phrancis Thank you for the link, guess I should learn to live with it then. – Ludisposed Nov 18 '17 at 21:18

It is commonly accepted wisdom that "Only perl can parse Perl". Every syntax highlighter I have seen has bugs when highlighting Perl code, especially regexes.
I don't recommend modifying your code just to appease the syntax highlighter on Code Review. You can either mention at the end of the question that the syntax highlighter is sloppy, or just turn off syntax highlighting by putting <!-- language: lang-none --> before your Perl code block.