pattern_clustering.regexp

Functions used to craft automata from regular expressions.

Functions

get_pattern_names

Retrieves the list of patterns involved in the default pattern collection.

make_dfa_any

Builds the DFA corresponding to the any non-separator character.

make_dfa_empty

Builds the Automaton corresponding to the empty language.

make_map_name_dfa

Builds a dictionary that maps a list of pattern name with the corresponding pybgl.Automaton instance built according to regular expressions.

make_re_hex_digit

Builds the regular expression catching hexadecimal values.

make_re_ipv6

Builds the regular expression catching IPv6 addresses.

make_re_ipv6_strict

Builds the regular expression catching IPv6 addresses.