| 1 |
News about PCRE releases |
News about PCRE releases |
| 2 |
------------------------ |
------------------------ |
| 3 |
|
|
| 4 |
|
Release 4.4 21-Aug-03 |
| 5 |
|
--------------------- |
| 6 |
|
|
| 7 |
|
This is mainly a bug-fix and tidying release. The only new feature is that PCRE |
| 8 |
|
checks UTF-8 strings for validity by default. There is an option to suppress |
| 9 |
|
this, just in case anybody wants that teeny extra bit of performance. |
| 10 |
|
|
| 11 |
|
|
| 12 |
|
Releases 4.1 - 4.3 |
| 13 |
|
------------------ |
| 14 |
|
|
| 15 |
|
Sorry, I forgot about updating the NEWS file for these releases. Please take a |
| 16 |
|
look at ChangeLog. |
| 17 |
|
|
| 18 |
|
|
| 19 |
|
Release 4.0 17-Feb-03 |
| 20 |
|
--------------------- |
| 21 |
|
|
| 22 |
|
There have been a lot of changes for the 4.0 release, adding additional |
| 23 |
|
functionality and mending bugs. Below is a list of the highlights of the new |
| 24 |
|
functionality. For full details of these features, please consult the |
| 25 |
|
documentation. For a complete list of changes, see the ChangeLog file. |
| 26 |
|
|
| 27 |
|
1. Support for Perl's \Q...\E escapes. |
| 28 |
|
|
| 29 |
|
2. "Possessive quantifiers" ?+, *+, ++, and {,}+ which come from Sun's Java |
| 30 |
|
package. They provide some syntactic sugar for simple cases of "atomic |
| 31 |
|
grouping". |
| 32 |
|
|
| 33 |
|
3. Support for the \G assertion. It is true when the current matching position |
| 34 |
|
is at the start point of the match. |
| 35 |
|
|
| 36 |
|
4. A new feature that provides some of the functionality that Perl provides |
| 37 |
|
with (?{...}). The facility is termed a "callout". The way it is done in PCRE |
| 38 |
|
is for the caller to provide an optional function, by setting pcre_callout to |
| 39 |
|
its entry point. To get the function called, the regex must include (?C) at |
| 40 |
|
appropriate points. |
| 41 |
|
|
| 42 |
|
5. Support for recursive calls to individual subpatterns. This makes it really |
| 43 |
|
easy to get totally confused. |
| 44 |
|
|
| 45 |
|
6. Support for named subpatterns. The Python syntax (?P<name>...) is used to |
| 46 |
|
name a group. |
| 47 |
|
|
| 48 |
|
7. Several extensions to UTF-8 support; it is now fairly complete. There is an |
| 49 |
|
option for pcregrep to make it operate in UTF-8 mode. |
| 50 |
|
|
| 51 |
|
8. The single man page has been split into a number of separate man pages. |
| 52 |
|
These also give rise to individual HTML pages which are put in a separate |
| 53 |
|
directory. There is an index.html page that lists them all. Some hyperlinking |
| 54 |
|
between the pages has been installed. |
| 55 |
|
|
| 56 |
|
|
| 57 |
Release 3.5 15-Aug-01 |
Release 3.5 15-Aug-01 |
| 58 |
--------------------- |
--------------------- |
| 59 |
|
|