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

Contents of /code/trunk/NEWS

Parent Directory Parent Directory | Revision Log Revision Log


Revision 43 - (hide annotations) (download)
Sat Feb 24 21:39:21 2007 UTC (7 years, 5 months ago) by nigel
File size: 1880 byte(s)
Load pcre-3.0 into code/trunk.

1 nigel 41 News about PCRE releases
2     ------------------------
3    
4 nigel 43 Release 3.0 01-Feb-00
5     ---------------------
6 nigel 41
7 nigel 43 1. A "configure" script is now used to configure PCRE for Unix systems. It
8     builds a Makefile, a config.h file, and the pcre-config script.
9    
10     2. PCRE is built as a shared library by default.
11    
12     3. There is support for POSIX classes such as [:alpha:].
13    
14     5. There is an experimental recursion feature.
15    
16 nigel 41 ----------------------------------------------------------------------------
17     IMPORTANT FOR THOSE UPGRADING FROM VERSIONS BEFORE 2.00
18    
19     Please note that there has been a change in the API such that a larger
20     ovector is required at matching time, to provide some additional workspace.
21     The new man page has details. This change was necessary in order to support
22     some of the new functionality in Perl 5.005.
23    
24     IMPORTANT FOR THOSE UPGRADING FROM VERSION 2.00
25    
26     Another (I hope this is the last!) change has been made to the API for the
27     pcre_compile() function. An additional argument has been added to make it
28     possible to pass over a pointer to character tables built in the current
29     locale by pcre_maketables(). To use the default tables, this new arguement
30     should be passed as NULL.
31    
32     IMPORTANT FOR THOSE UPGRADING FROM VERSION 2.05
33    
34     Yet another (and again I hope this really is the last) change has been made
35     to the API for the pcre_exec() function. An additional argument has been
36     added to make it possible to start the match other than at the start of the
37     subject string. This is important if there are lookbehinds. The new man
38     page has the details, but you just want to convert existing programs, all
39     you need to do is to stick in a new fifth argument to pcre_exec(), with a
40     value of zero. For example, change
41    
42     pcre_exec(pattern, extra, subject, length, options, ovec, ovecsize)
43     to
44     pcre_exec(pattern, extra, subject, length, 0, options, ovec, ovecsize)
45    
46     ****

webmaster@exim.org
ViewVC Help
Powered by ViewVC 1.1.12