/[pcre]/code/trunk/ChangeLog
ViewVC logotype

Diff of /code/trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 616 by ph10, Mon Jul 11 15:55:25 2011 UTC revision 620 by ph10, Sun Jul 17 13:53:14 2011 UTC
# Line 126  Version 8.13 30-Apr-2011 Line 126  Version 8.13 30-Apr-2011
126  23. Add the ++ qualifier feature to pcretest, to show the remainder of the  23. Add the ++ qualifier feature to pcretest, to show the remainder of the
127      subject after a captured substring (to make it easier to tell which of a      subject after a captured substring (to make it easier to tell which of a
128      number of identical substrings has been captured).      number of identical substrings has been captured).
129    
130    24. The way atomic groups are processed by pcre_exec() has been changed so that
131        if they are repeated, backtracking one repetition now resets captured
132        values correctly. For example, if ((?>(a+)b)+aabab) is matched against
133        "aaaabaaabaabab" the value of captured group 2 is now correctly recorded as
134        "aaa". Previously, it would have been "a". As part of this code
135        refactoring, the way recursive calls are handled has also been changed.
136    
137    24. If an assertion condition captured any substrings, they were not passed
138        back unless some other capturing happened later. For example, if
139        (?(?=(a))a) was matched against "a", no capturing was returned.
140    
141    25. When studying a pattern that contained subroutine calls or assertions,
142        the code for finding the minimum length of a possible match was handling
143        direct recursions such as (xxx(?1)|yyy) but not mutual recursions (where
144        group 1 called group 2 while simultaneously a separate group 2 called group
145        1). A stack overflow occurred in this case. I have fixed this by limiting
146        the recursion depth to 10.
147    
148    
149  Version 8.12 15-Jan-2011  Version 8.12 15-Jan-2011

Legend:
Removed from v.616  
changed lines
  Added in v.620

  ViewVC Help
Powered by ViewVC 1.1.5