You can use parentheses to enclose tagged expressions to indicate a capturing group. Then, you can use
to reference tagged expressions. The expression \0 indicates a tagged expression that represents the entire substring that was matched. The expression
denotes the first tagged expression,
is the second expression, and
is the third expression.