A fix in regex