revised validate and clean function in RegexParser
Merge branch 'master' of github.com:arnellebalane/regex2nfa
revised validate and clean function in RegexParser