/[pcre]/code/tags/pcre-6.0/NEWS
ViewVC logotype

Contents of /code/tags/pcre-6.0/NEWS

Parent Directory Parent Directory | Revision Log Revision Log


Revision 41 - (show annotations) (download)
Sat Feb 24 21:39:17 2007 UTC (7 years, 8 months ago) by nigel
Original Path: code/trunk/NEWS
File size: 1651 byte(s)
Load pcre-2.08a into code/trunk.

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

webmaster@exim.org
ViewVC Help
Powered by ViewVC 1.1.12