issue2636-01 : Code : Python (original) (raw)

lp:~pythonregexp2.7/python/issue2636-01

Created byTimeHorse on 2008-04-26 and last modifiedon 2008-09-26

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 branchlp:~pythonregexp2.7/python/issue2636-01

Branch merges

Branch information

Recent revisions

39059. ByJeffrey C. "The TimeHorse" Jacobs on 2008-09-26

39058. ByJeffrey C. "The TimeHorse" Jacobs on 2008-09-23

39057. ByJeffrey C. "The TimeHorse" Jacobs on 2008-09-23

39056. ByJeffrey C. "The TimeHorse" Jacobs on 2008-09-21

39055. ByJeffrey C. "The TimeHorse" Jacobs on 2008-09-21

39054. ByJeffrey C. "The TimeHorse" Jacobs on 2008-06-18

39053. ByJeffrey C. "The TimeHorse" Jacobs on 2008-06-18

39052. ByJeffrey C. "The TimeHorse" Jacobs on 2008-06-14

39051. ByJeffrey C. "The TimeHorse" Jacobs on 2008-06-11

39050. ByJeffrey C. "The TimeHorse" Jacobs on 2008-06-10

Branch metadata

Branch format:

Branch format 6

Repository format:

Bazaar pack repository format 1 with rich root (needs bzr 1.0)