Add an option to support optional regex input

Fix #104. This should support more flexibility in customisation. With
this option enabled, only input text not containing "\v, \V, \m, \M" are
treated literal.