pattern_clustering.regexp.make_dfa_any
- make_dfa_any(alphabet: Optional[iter] = None, separator_alphabet: Optional[iter] = None) Automaton [source]
Builds the DFA corresponding to the any non-separator character.
- Parameters
alphabet (iter) – The characters involved in the alphabet. Default to
string.printable
).separator (iter) – The characters corresponding to separators. Defaults to
{" ", "\t", "\n"}
.
- Returns
The corresponding
Automaton
.