MatchInfo
-
class MatchInfo(*args, **kwargs)
Methods
-
class MatchInfo
-
expand_references(string_to_expand: str) → str | None
- Parameters:
string_to_expand
-
fetch(match_num: int) → str | None
- Parameters:
match_num
-
fetch_all() → list[str]
-
fetch_named(name: str) → str | None
- Parameters:
name
-
fetch_named_pos(name: str) → tuple[bool, int, int]
- Parameters:
name
-
fetch_pos(match_num: int) → tuple[bool, int, int]
- Parameters:
match_num
-
free() → None
-
get_match_count() → int
-
get_regex() → Regex
-
get_string() → str
-
is_partial_match() → bool
-
matches() → bool
-
next() → bool