Tiny changed in re.sub condition.