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

Diff of /code/trunk/NEWS

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

revision 91 by nigel, Sat Feb 24 21:41:34 2007 UTC revision 345 by ph10, Mon Apr 28 15:10:02 2008 UTC
# Line 1  Line 1 
1  News about PCRE releases  News about PCRE releases
2  ------------------------  ------------------------
3    
4    
5    Release 7.7 28-Apr-08
6    ---------------------
7    
8    This is once again mainly a bug-fix release, but there are a couple of new
9    features.
10    
11    
12    Release 7.6 28-Jan-08
13    ---------------------
14    
15    The main reason for having this release so soon after 7.5 is because it fixes a
16    potential buffer overflow problem in pcre_compile() when run in UTF-8 mode. In
17    addition, the CMake configuration files have been brought up to date.
18    
19    
20    Release 7.5 10-Jan-08
21    ---------------------
22    
23    This is mainly a bug-fix release. However the ability to link pcregrep with
24    libz or libbz2 and the ability to link pcretest with libreadline have been
25    added. Also the --line-offsets and --file-offsets options were added to
26    pcregrep.
27    
28    
29    Release 7.4 21-Sep-07
30    ---------------------
31    
32    The only change of specification is the addition of options to control whether
33    \R matches any Unicode line ending (the default) or just CR, LF, and CRLF.
34    Otherwise, the changes are bug fixes and a refactoring to reduce the number of
35    relocations needed in a shared library. There have also been some documentation
36    updates, in particular, some more information about using CMake to build PCRE
37    has been added to the NON-UNIX-USE file.
38    
39    
40    Release 7.3 28-Aug-07
41    ---------------------
42    
43    Most changes are bug fixes. Some that are not:
44    
45    1. There is some support for Perl 5.10's experimental "backtracking control
46       verbs" such as (*PRUNE).
47    
48    2. UTF-8 checking is now as per RFC 3629 instead of RFC 2279; this is more
49       restrictive in the strings it accepts.
50    
51    3. Checking for potential integer overflow has been made more dynamic, and as a
52       consequence there is no longer a hard limit on the size of a subpattern that
53       has a limited repeat count.
54    
55    4. When CRLF is a valid line-ending sequence, pcre_exec() and pcre_dfa_exec()
56       no longer advance by two characters instead of one when an unanchored match
57       fails at CRLF if there are explicit CR or LF matches within the pattern.
58       This gets rid of some anomalous effects that previously occurred.
59    
60    5. Some PCRE-specific settings for varying the newline options at the start of
61       a pattern have been added.
62    
63    
64    Release 7.2 19-Jun-07
65    ---------------------
66    
67    WARNING: saved patterns that were compiled by earlier versions of PCRE must be
68    recompiled for use with 7.2 (necessitated by the addition of \K, \h, \H, \v,
69    and \V).
70    
71    Correction to the notes for 7.1: the note about shared libraries for Windows is
72    wrong. Previously, three libraries were built, but each could function
73    independently. For example, the pcreposix library also included all the
74    functions from the basic pcre library. The change is that the three libraries
75    are no longer independent. They are like the Unix libraries. To use the
76    pcreposix functions, for example, you need to link with both the pcreposix and
77    the basic pcre library.
78    
79    Some more features from Perl 5.10 have been added:
80    
81      (?-n) and (?+n) relative references for recursion and subroutines.
82    
83      (?(-n) and (?(+n) relative references as conditions.
84    
85      \k{name} and \g{name} are synonyms for \k<name>.
86    
87      \K to reset the start of the matched string; for example, (foo)\Kbar
88      matches bar preceded by foo, but only sets bar as the matched string.
89    
90      (?| introduces a group where the capturing parentheses in each alternative
91      start from the same number; for example, (?|(abc)|(xyz)) sets capturing
92      parentheses number 1 in both cases.
93    
94      \h, \H, \v, \V match horizontal and vertical whitespace, respectively.
95    
96    
97    Release 7.1 24-Apr-07
98    ---------------------
99    
100    There is only one new feature in this release: a linebreak setting of
101    PCRE_NEWLINE_ANYCRLF. It is a cut-down version of PCRE_NEWLINE_ANY, which
102    recognizes only CRLF, CR, and LF as linebreaks.
103    
104    A few bugs are fixed (see ChangeLog for details), but the major change is a
105    complete re-implementation of the build system. This now has full Autotools
106    support and so is now "standard" in some sense. It should help with compiling
107    PCRE in a wide variety of environments.
108    
109    NOTE: when building shared libraries for Windows, three dlls are now built,
110    called libpcre, libpcreposix, and libpcrecpp. Previously, everything was
111    included in a single dll.
112    
113    Another important change is that the dftables auxiliary program is no longer
114    compiled and run at "make" time by default. Instead, a default set of character
115    tables (assuming ASCII coding) is used. If you want to use dftables to generate
116    the character tables as previously, add --enable-rebuild-chartables to the
117    "configure" command. You must do this if you are compiling PCRE to run on a
118    system that uses EBCDIC code.
119    
120    There is a discussion about character tables in the README file. The default is
121    not to use dftables so that that there is no problem when cross-compiling.
122    
123    
124    Release 7.0 19-Dec-06
125    ---------------------
126    
127    This release has a new major number because there have been some internal
128    upheavals to facilitate the addition of new optimizations and other facilities,
129    and to make subsequent maintenance and extension easier. Compilation is likely
130    to be a bit slower, but there should be no major effect on runtime performance.
131    Previously compiled patterns are NOT upwards compatible with this release. If
132    you have saved compiled patterns from a previous release, you will have to
133    re-compile them. Important changes that are visible to users are:
134    
135    1. The Unicode property tables have been updated to Unicode 5.0.0, which adds
136       some more scripts.
137    
138    2. The option PCRE_NEWLINE_ANY causes PCRE to recognize any Unicode newline
139       sequence as a newline.
140    
141    3. The \R escape matches a single Unicode newline sequence as a single unit.
142    
143    4. New features that will appear in Perl 5.10 are now in PCRE. These include
144       alternative Perl syntax for named parentheses, and Perl syntax for
145       recursion.
146    
147    5. The C++ wrapper interface has been extended by the addition of a
148       QuoteMeta function and the ability to allow copy construction and
149       assignment.
150    
151    For a complete list of changes, see the ChangeLog file.
152    
153    
154  Release 6.7 04-Jul-06  Release 6.7 04-Jul-06
155  ---------------------  ---------------------
156    

Legend:
Removed from v.91  
changed lines
  Added in v.345

  ViewVC Help
Powered by ViewVC 1.1.5