Atomic Regex Subrule 3a-2

Subrule 3a-2: When the regex engine encounters a possessive form, it must not backtrack.

Example:

^a+(?"+)

This regex matches 'a' followed by one or more double quotes, but not more than two.

Related Subrules: