Minor fix to reg exp.