classify regex_highlight