source: trunk/third/pcre/NEWS @ 19309

Revision 19309, 3.4 KB checked in by ghudson, 22 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r19308, which included commits to RCS files with non-trunk default branches.
Line 
1News about PCRE releases
2------------------------
3
4Release 3.5 15-Aug-01
5---------------------
6
71. The configuring system has been upgraded to use later versions of autoconf
8and libtool. By default it builds both a shared and a static library if the OS
9supports it. You can use --disable-shared or --disable-static on the configure
10command if you want only one of them.
11
122. The pcretest utility is now installed along with pcregrep because it is
13useful for users (to test regexs) and by doing this, it automatically gets
14relinked by libtool. The documentation has been turned into a man page, so
15there are now .1, .txt, and .html versions in /doc.
16
173. Upgrades to pcregrep:
18   (i)   Added long-form option names like gnu grep.
19   (ii)  Added --help to list all options with an explanatory phrase.
20   (iii) Added -r, --recursive to recurse into sub-directories.
21   (iv)  Added -f, --file to read patterns from a file.
22
234. Added --enable-newline-is-cr and --enable-newline-is-lf to the configure
24script, to force use of CR or LF instead of \n in the source. On non-Unix
25systems, the value can be set in config.h.
26
275. The limit of 200 on non-capturing parentheses is a _nesting_ limit, not an
28absolute limit. Changed the text of the error message to make this clear, and
29likewise updated the man page.
30
316. The limit of 99 on the number of capturing subpatterns has been removed.
32The new limit is 65535, which I hope will not be a "real" limit.
33
34
35Release 3.3 01-Aug-00
36---------------------
37
38There is some support for UTF-8 character strings. This is incomplete and
39experimental. The documentation describes what is and what is not implemented.
40Otherwise, this is just a bug-fixing release.
41
42
43Release 3.0 01-Feb-00
44---------------------
45
461. A "configure" script is now used to configure PCRE for Unix systems. It
47builds a Makefile, a config.h file, and the pcre-config script.
48
492. PCRE is built as a shared library by default.
50
513. There is support for POSIX classes such as [:alpha:].
52
535. There is an experimental recursion feature.
54
55----------------------------------------------------------------------------
56          IMPORTANT FOR THOSE UPGRADING FROM VERSIONS BEFORE 2.00
57
58Please note that there has been a change in the API such that a larger
59ovector is required at matching time, to provide some additional workspace.
60The new man page has details. This change was necessary in order to support
61some of the new functionality in Perl 5.005.
62
63          IMPORTANT FOR THOSE UPGRADING FROM VERSION 2.00
64
65Another (I hope this is the last!) change has been made to the API for the
66pcre_compile() function. An additional argument has been added to make it
67possible to pass over a pointer to character tables built in the current
68locale by pcre_maketables(). To use the default tables, this new arguement
69should be passed as NULL.
70
71          IMPORTANT FOR THOSE UPGRADING FROM VERSION 2.05
72
73Yet another (and again I hope this really is the last) change has been made
74to the API for the pcre_exec() function. An additional argument has been
75added to make it possible to start the match other than at the start of the
76subject string. This is important if there are lookbehinds. The new man
77page has the details, but you just want to convert existing programs, all
78you need to do is to stick in a new fifth argument to pcre_exec(), with a
79value of zero. For example, change
80
81  pcre_exec(pattern, extra, subject, length, options, ovec, ovecsize)
82to
83  pcre_exec(pattern, extra, subject, length, 0, options, ovec, ovecsize)
84
85****
Note: See TracBrowser for help on using the repository browser.