CapturedText
yosoi.outcomes.CapturedText
class CapturedText(ImmutableModel):
Projected text and named regular-expression capture values.
Attributes: text: Full projected text independent of captured subexpressions. captures: Capture names mapped to their matched text. The mapping contents remain mutable even though model attribute assignment is frozen.
Source: python/yosoi/outcomes.py:580
Members below are declared on this class. Inherited Pydantic methods and generated constructor signatures are not expanded.
Fields and class attributes
Section titled “Fields and class attributes”text: str
captures: dict[str, str]