task_info
Parses a line of text using a regular expression to extract and return task information groups.
def task_info(
line: string
) - > tuple
Extracts task-related metadata from a raw log line using a predefined regular expression.
Parameters
| Name | Type | Description |
|---|---|---|
| line | string | The raw string or log line to be parsed for task information. |
Returns
| Type | Description |
|---|---|
tuple | A tuple containing the captured groups from the task information match, such as task ID or status. |