ViewVC logotype

Diff of /code/tags/pcre-4.3/NEWS

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

code/trunk/NEWS revision 49 by nigel, Sat Feb 24 21:39:33 2007 UTC code/tags/pcre-4.3/NEWS revision 70 by nigel, Sat Feb 24 21:40:20 2007 UTC
# Line 1  Line 1 
1  News about PCRE releases  News about PCRE releases
2  ------------------------  ------------------------
4    Release 4.0 17-Feb-03
5    ---------------------
7    There have been a lot of changes for the 4.0 release, adding additional
8    functionality and mending bugs. Below is a list of the highlights of the new
9    functionality. For full details of these features, please consult the
10    documentation. For a complete list of changes, see the ChangeLog file.
12    1. Support for Perl's \Q...\E escapes.
14    2. "Possessive quantifiers" ?+, *+, ++, and {,}+ which come from Sun's Java
15    package. They provide some syntactic sugar for simple cases of "atomic
16    grouping".
18    3. Support for the \G assertion. It is true when the current matching position
19    is at the start point of the match.
21    4. A new feature that provides some of the functionality that Perl provides
22    with (?{...}). The facility is termed a "callout". The way it is done in PCRE
23    is for the caller to provide an optional function, by setting pcre_callout to
24    its entry point. To get the function called, the regex must include (?C) at
25    appropriate points.
27    5. Support for recursive calls to individual subpatterns. This makes it really
28    easy to get totally confused.
30    6. Support for named subpatterns. The Python syntax (?P<name>...) is used to
31    name a group.
33    7. Several extensions to UTF-8 support; it is now fairly complete. There is an
34    option for pcregrep to make it operate in UTF-8 mode.
36    8. The single man page has been split into a number of separate man pages.
37    These also give rise to individual HTML pages which are put in a separate
38    directory. There is an index.html page that lists them all. Some hyperlinking
39    between the pages has been installed.
42    Release 3.5 15-Aug-01
43    ---------------------
45    1. The configuring system has been upgraded to use later versions of autoconf
46    and libtool. By default it builds both a shared and a static library if the OS
47    supports it. You can use --disable-shared or --disable-static on the configure
48    command if you want only one of them.
50    2. The pcretest utility is now installed along with pcregrep because it is
51    useful for users (to test regexs) and by doing this, it automatically gets
52    relinked by libtool. The documentation has been turned into a man page, so
53    there are now .1, .txt, and .html versions in /doc.
55    3. Upgrades to pcregrep:
56       (i)   Added long-form option names like gnu grep.
57       (ii)  Added --help to list all options with an explanatory phrase.
58       (iii) Added -r, --recursive to recurse into sub-directories.
59       (iv)  Added -f, --file to read patterns from a file.
61    4. Added --enable-newline-is-cr and --enable-newline-is-lf to the configure
62    script, to force use of CR or LF instead of \n in the source. On non-Unix
63    systems, the value can be set in config.h.
65    5. The limit of 200 on non-capturing parentheses is a _nesting_ limit, not an
66    absolute limit. Changed the text of the error message to make this clear, and
67    likewise updated the man page.
69    6. The limit of 99 on the number of capturing subpatterns has been removed.
70    The new limit is 65535, which I hope will not be a "real" limit.
73  Release 3.3 01-Aug-00  Release 3.3 01-Aug-00
74  ---------------------  ---------------------

Removed from v.49  
changed lines
  Added in v.70

  ViewVC Help
Powered by ViewVC 1.1.5