corrected typo in regex