use regex matching in DiffParser

Change-Id: I566e5597b68e57c1c575b32503145c71122881bf