Skip to the content.

Feature: Capturing Groups

Home | Features | Improve this section

A Capturing Group is a subexpression that can be treated as an Atom and can be repeated using Quantifiers and referenced using Backreferences by index. A Capturing Group can be captured and returned by the matching algorithm.

Syntax

Improve this section

NOTE: The following syntax is an example based on some of the supported engines. For specific engine support, see Engines.

Engines

Engine Supported
Perl
PCRE
Boost.Regex
.NET
Oniguruma
Hyperscan
ICU
Glib/GRegex
ECMAScript

See Also

Improve this section