split regex to gain better insight when failure occurs