Repaired regex