match_offset property

ReplacingArgs.match_offset property

Gets the zero-based starting position of the match from the start of the node that contains the beginning of the match.

@property
def match_offset(self) -> int:
    ...

See Also