preg_replace treats the first character as a delimiter

I have no idea why, since this "regex" is just a string anyway, but
whatever.