Make ANSI escape regex more precise