update regular expression and add comments