lp:~pythonregexp2.7/python/issue2636-01
Provide support for Atomic Grouping and Possessive Qualifiers. Atomic Grouping, e.g. (?>...), which pops all internal stack states when the closing parenthesis is encountered so that repeating operators cannot try other matches beyond the closing parenthesis. The Possessive Qualifiers are greedy qualifiers but unlike normal greedy repetition, they stop when the repetition cannot continue and pop the stack frame immediately before trying the subsequent or "tail" of the expression. Thus, if the tail fails to match, (and there are no pop-able states prior to the Possessively Qualified Repetition), the expression will fail to match overall.
- Get this branch:
- bzr branch lp:~pythonregexp2.7/python/issue2636-01
Branch merges
Branch information
Recent revisions
- 39058. By Jeffrey C. "The TimeHorse" Jacobs <email address hidden>
-
Updated versionadded in documentation for Atomic Grouping / Possessive Qualifiers to refer to version 2.7, the soonest version this may see the light of day.
- 39057. By Jeffrey C. "The TimeHorse" Jacobs <email address hidden>
-
Removed comment about skip the SUCCESS op code as the skip contains that already.
- 39056. By Jeffrey C. "The TimeHorse" Jacobs <email address hidden>
-
Added Validators for Atomic Grouping / Possessive Qualifiers ; Changed the POSSESSIVE_REPEAT op code's skip value to point to 1 passed the SUCCESS op code rather than at it.
- 39055. By Jeffrey C. "The TimeHorse" Jacobs <email address hidden>
-
Merged in changes from the core Regexp branch.
- 39054. By Jeffrey C. "The TimeHorse" Jacobs <email address hidden>
-
Merged in changes from the core Regexp branch.
- 39053. By Jeffrey C. "The TimeHorse" Jacobs <email address hidden>
-
Fixed various documentation bugs, mainly ``'a'``s is not legitmate reST
code, and small grammar problems in the text for {x,y}+. - 39052. By Jeffrey C. "The TimeHorse" Jacobs <email address hidden>
-
Added a Possessive in Atomic and Atomic in Possessive tests.
- 39051. By Jeffrey C. "The TimeHorse" Jacobs <email address hidden>
-
Merged in changes from the core Regexp branch.
- 39050. By Jeffrey C. "The TimeHorse" Jacobs <email address hidden>
-
The Atomic Grouping constant was not conforming to the way to set
itself, i.e. was not <name> = <value>, with spaces on both sides of
the equals.
Branch metadata
- Branch format:
- Branch format 6
- Repository format:
- Bazaar pack repository format 1 with rich root (needs bzr 1.0)