Add diffpat regex