I started learning some Perl Compatible regex and yet I've seen various codes in the last years (Bash, APCRE, Nginx, JavaScript, ) and in some I clearly remember seeing a escaping metacharacter right before equal signs while in some others I haven't seen that.
Is it generally a necessity in regex or some kind of a best practice?