Added regex and diffc