quote command prefix

The command prefix is supposed to be a string so
it has to be quoted for using it in regular expressions.