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