Fixing regular expression syntax