fixes #2 modify the regex in the values of enum