group_index property

ReplacingArgs.group_index property

Identifies, by index, a captured group in the Aspose.Words.Replacing.ReplacingArgs.Match that is to be replaced with the ReplacingArgs.replacement string.

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

@group_index.setter
def group_index(self, value: int):
    ...

Remarks

ReplacingArgs.group_index has effect only when ReplacingArgs.group_name is None.

Default is zero.

See Also