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

Diff of /code/trunk/ChangeLog

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

revision 486 by ph10, Tue Jan 5 17:44:57 2010 UTC revision 492 by ph10, Tue Mar 2 11:26:55 2010 UTC
# Line 1  Line 1 
1  ChangeLog for PCRE  ChangeLog for PCRE
2  ------------------  ------------------
3    
4  Version 8.01 06-Jan-10  Version 8.02 01-Mar-2010
5  ----------------------  ------------------------
6    
7    1.  The Unicode data tables have been updated to Unicode 5.2.0.
8    
9    2.  Added the option --libs-cpp to pcre-config, but only when C++ support is
10        configured.
11    
12    
13    Version 8.01 19-Jan-2010
14    ------------------------
15    
16  1.  If a pattern contained a conditional subpattern with only one branch (in  1.  If a pattern contained a conditional subpattern with only one branch (in
17      particular, this includes all (DEFINE) patterns), a call to pcre_study()      particular, this includes all (*DEFINE) patterns), a call to pcre_study()
18      computed the wrong minimum data length (which is of course zero for such      computed the wrong minimum data length (which is of course zero for such
19      subpatterns).      subpatterns). This could cause incorrect "no match" results.
20    
21  2.  For patterns such as (?i)a(?-i)b|c where an option setting at the start of  2.  For patterns such as (?i)a(?-i)b|c where an option setting at the start of
22      the pattern is reset in the first branch, pcre_compile() failed with      the pattern is reset in the first branch, pcre_compile() failed with
# Line 61  Version 8.01 06-Jan-10 Line 70  Version 8.01 06-Jan-10
70      custom one, because of the following reported problem in Windows:      custom one, because of the following reported problem in Windows:
71    
72        - libbz2 uses the Pascal calling convention (WINAPI) for the functions        - libbz2 uses the Pascal calling convention (WINAPI) for the functions
73          under Win32.            under Win32.
74        - The standard autoconf AC_CHECK_LIB fails to include "bzlib.h",        - The standard autoconf AC_CHECK_LIB fails to include "bzlib.h",
75          therefore missing the function definition.            therefore missing the function definition.
76        - The compiler thus generates a "C" signature for the test function.        - The compiler thus generates a "C" signature for the test function.
77        - The linker fails to find the "C" function.        - The linker fails to find the "C" function.
78        - PCRE fails to configure if asked to do so against libbz2.        - PCRE fails to configure if asked to do so against libbz2.
# Line 113  Version 8.01 06-Jan-10 Line 122  Version 8.01 06-Jan-10
122      equivalent. It's not enough to call AC_CHECK_FUNCS: hpux has a strtoll, for      equivalent. It's not enough to call AC_CHECK_FUNCS: hpux has a strtoll, for
123      instance, but it only takes 2 args instead of 3!"      instance, but it only takes 2 args instead of 3!"
124    
125    18. A subtle bug concerned with back references has been fixed by a change of
126        specification, with a corresponding code fix. A pattern such as
127        ^(xa|=?\1a)+$ which contains a back reference inside the group to which it
128        refers, was giving matches when it shouldn't. For example, xa=xaaa would
129        match that pattern. Interestingly, Perl (at least up to 5.11.3) has the
130        same bug. Such groups have to be quantified to be useful, or contained
131        inside another quantified group. (If there's no repetition, the reference
132        can never match.) The problem arises because, having left the group and
133        moved on to the rest of the pattern, a later failure that backtracks into
134        the group uses the captured value from the final iteration of the group
135        rather than the correct earlier one. I have fixed this in PCRE by forcing
136        any group that contains a reference to itself to be an atomic group; that
137        is, there cannot be any backtracking into it once it has completed. This is
138        similar to recursive and subroutine calls.
139    
140    
141  Version 8.00 19-Oct-09  Version 8.00 19-Oct-09
142  ----------------------  ----------------------

Legend:
Removed from v.486  
changed lines
  Added in v.492

  ViewVC Help
Powered by ViewVC 1.1.5