Add option for underlining patterns rather than highlighting