Fix typos
Corrections to regular expression