1. Add gcc4.9 diagnostic color. 2.Refine regex.