Technically, the second is incorrect syntax, however they end up being the same thing to PCRE. This is due to PHP parsing backslashes as standard escape characters, then PCRE parsing them again. If you wish to have a backslash in the pattern use four of them.