fixed typos in regex