Introduction

Syntax

Program Help

Examples

Download

Match Tool 2.1

Match Tool 3.0

 

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.

 

 

RegExLab.com © 2005 - All Rights Reserved