Home
last modified time | relevance | path

Searched refs:regex_group_count (Results 1 – 5 of 5) sorted by relevance

/external/python/parse_type/parse_type/
Dcardinality.py138 convert_optional.regex_group_count = group_count
166 convert_list0.regex_group_count = group_count
190 convert_list.regex_group_count = group_count
Dparse.py448 def with_pattern(pattern, regex_group_count=None): argument
472 func.regex_group_count = regex_group_count
979 regex_group_count = getattr(type_converter, 'regex_group_count', 0)
980 if regex_group_count is None:
981 regex_group_count = 0
982 self._group_index += regex_group_count
Dbuilder.py227 convert_variant.regex_group_count = group_count
/external/python/parse_type/
DCHANGES.txt14 * RENAMED: type_converter.regex_group_count attribute (was: .group_count)
/external/python/parse_type/tests/
Dtest_parse.py775 @parse.with_pattern(r'((\w+))', regex_group_count=2)
877 @parse.with_pattern(r'(meter|kilometer)', regex_group_count=1)
904 @parse.with_pattern(r'(meter|kilometer)', regex_group_count=1)
919 parse_unit.regex_group_count = bad_regex_group_count # -- OVERRIDE-HERE
931 parse_data.regex_group_count = None # ENFORCE: None