In a match found by a defined pattern, how to group various portions of a match?

Category: PythonIn a match found by a defined pattern, how to group various portions of a match?
Editor">Editor Staff asked 2 years ago

In a match found by a defined pattern, how to group various portions of a match?
Using braces, {}
Using square brackets, []
Using angular brackets, <>
Using paranthesis, ()