/[pcre]/code/tags/pcre-2.00/ChangeLog
ViewVC logotype

Diff of /code/tags/pcre-2.00/ChangeLog

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

revision 9 by nigel, Sat Feb 24 21:38:13 2007 UTC revision 21 by nigel, Sat Feb 24 21:38:37 2007 UTC
# Line 2  ChangeLog for PCRE Line 2  ChangeLog for PCRE
2  ------------------  ------------------
3    
4    
5    Version 1.09 28 Apr-98
6    ----------------------
7    
8    1. A negated single character class followed by a quantifier with a minimum
9    value of one (e.g.  [^x]{1,6}  ) was not compiled correctly. This could lead to
10    program crashes, or just wrong answers. This did not apply to negated classes
11    containing more than one character, or to minima other than one.
12    
13    
14    Version 1.08 27-Mar-98
15    ----------------------
16    
17    1. Add PCRE_UNGREEDY to invert the greediness of quantifiers.
18    
19    2. Add (?U) and (?X) to set PCRE_UNGREEDY and PCRE_EXTRA respectively. The
20    latter must appear before anything that relies on it in the pattern.
21    
22    
23    Version 1.07 16-Feb-98
24    ----------------------
25    
26    1. A pattern such as /((a)*)*/ was not being diagnosed as in error (unlimited
27    repeat of a potentially empty string).
28    
29    
30    Version 1.06 23-Jan-98
31    ----------------------
32    
33    1. Added Markus Oberhumer's little patches for C++.
34    
35    2. Literal strings longer than 255 characters were broken.
36    
37    
38    Version 1.05 23-Dec-97
39    ----------------------
40    
41    1. Negated character classes containing more than one character were failing if
42    PCRE_CASELESS was set at run time.
43    
44    
45    Version 1.04 19-Dec-97
46    ----------------------
47    
48    1. Corrected the man page, where some "const" qualifiers had been omitted.
49    
50    2. Made debugging output print "{0,xxx}" instead of just "{,xxx}" to agree with
51    input syntax.
52    
53    3. Fixed memory leak which occurred when a regex with back references was
54    matched with an offsets vector that wasn't big enough. The temporary memory
55    that is used in this case wasn't being freed if the match failed.
56    
57    4. Tidied pcretest to ensure it frees memory that it gets.
58    
59    5. Temporary memory was being obtained in the case where the passed offsets
60    vector was exactly big enough.
61    
62    6. Corrected definition of offsetof() from change 5 below.
63    
64    7. I had screwed up change 6 below and broken the rules for the use of
65    setjmp(). Now fixed.
66    
67    
68  Version 1.03 18-Dec-97  Version 1.03 18-Dec-97
69  ----------------------  ----------------------
70    
# Line 39  optimized code for single-character nega Line 102  optimized code for single-character nega
102  from gcc -Wall, and avoided calling it at all unless PCRE_EXTRA is used.  from gcc -Wall, and avoided calling it at all unless PCRE_EXTRA is used.
103    
104  7. Constructs such as \d{8,} were compiling into the equivalent of  7. Constructs such as \d{8,} were compiling into the equivalent of
105  \d{8}\d{65527} instead of \d{8}\d* which didn't make much difference to the  \d{8}\d{0,65527} instead of \d{8}\d* which didn't make much difference to the
106  outcome, but in this particular case used more store than had been allocated,  outcome, but in this particular case used more store than had been allocated,
107  which caused the bug to be discovered because it threw up an internal error.  which caused the bug to be discovered because it threw up an internal error.
108    

Legend:
Removed from v.9  
changed lines
  Added in v.21

  ViewVC Help
Powered by ViewVC 1.1.5