Regexp-quote the prefix.