Add an option to support optional regex input

Fix #104. This should support more flexibility in customisation. With
this option enabled, input text not matching '^\\[vVmM].' are still
treated literal.