in reply to MySQL Regex

Double your backslashes. Perl reduces the two backslashes you typed, to just one, as you can see if you'd print out the string. It'll reduce 4 to 2, and that's what you want.