updated regex to fixed failing test