As a rule of thumb, it's better to describe your regular expression patterns using single-quoted strings.
Using double-quoted strings, the interaction between PHP's and PCRE's interpretations of which bits of the string are escape sequences can get messy. Regular expressions can get messy enough as it is without another layer of escaping making it worse.