Fix incorrect preg_quote usage.