Skip to the content.

Feature: Possessive Quantifiers

Home | Features | Improve this section

Possessive Quantifiers are like greedy (i.e., regular) quantifiers, except that backtracking is not performed.

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