fix regular expression, but not perfect.