use of Regexp enum in WordsPartAnalysis