Fix preg_quote usage.