|
DEELX Basic Pattern Syntax: Group
Return: Content | Prev: Alternative expressions | Next: Named group
Group ( )
Use bracket ( ) to enclose sub-expressions into a single element. Sub-expressions in it will be a whole part when it is quantified.
Then, what captured by a group can be retrieved individually.
Remarks
Each group has a number. The rule of number is: count left parenthesis from left to right. The group with number of 0 is the overall expression.
|
|
|