RegexResult
Overview
RegexResult is a class in Aspose.PDF FOSS for Python.
Wraps a single regular-expression match found on a PDF page.
This class provides 1 method for working with RegexResult objects in Python programs.
Available methods include: __init__.
All public members are accessible to any Python application after installing the Aspose.PDF FOSS for Python package.
Properties: end, groups, match, page_index, start, text.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
page_index | int | Read | Gets the page index. |
match | re.Match | Read | Gets the match. |
text | str | Read | Gets the text. |
start | int | Read | Gets the start. |
end | int | Read | Gets the end. |
groups | tuple | Read | Gets the groups. |
Methods
| Signature | Description |
|---|---|
__init__(match: re.Match, page_index: int) | Calls init(match, page_index) on this RegexResult instance. |