fixed string & regex highlighting bugs