small error in regex;fixed