summaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authorph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15>2007-06-11 13:38:38 +0000
committerph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15>2007-06-11 13:38:38 +0000
commit6cd094c7b56880c59c20914f08f739d56a859fa6 (patch)
tree00687cc32d070372a733226e912629b16f1fe7be /NEWS
parent9d95f8c10848c50c0434d058070c93b4206df01b (diff)
downloadpcre-6cd094c7b56880c59c20914f08f739d56a859fa6.tar.gz
Added the Perl 5.10 (?| "branch reset" feature.
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@175 2f5784b3-3f2a-0410-8824-cb99058d5e15
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS6
1 files changed, 5 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 7709e9f..a82f2a1 100644
--- a/NEWS
+++ b/NEWS
@@ -24,7 +24,11 @@ Some more features from Perl 5.10 have been added:
(?(-n) and (?(+n) relative references as conditions.
\K to reset the start of the matched string; for example, (foo)\Kbar
- matches bar preceded by foo, but only sets bar as the matched string
+ matches bar preceded by foo, but only sets bar as the matched string.
+
+ (?| introduces a group where the capturing parentheses in each alternative
+ start from the same number; for example, (?|(abc)|(xyz)) sets capturing
+ parentheses number 1 in both cases.
Release 7.1 24-Apr-07