make_map_name_dfa(map_name_re: Optional[dict] = None, names: Optional[iter] = None) dict[source]

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

  • names (list) – A list of string, where each string identifies a pattern names (by default, every keys of map_name_re is considered).

  • map_name_re (dict) – Maps each pattern name (str) with the corresponding regular expression (str). Defaults to None for the default pattern collection.