diff options
author | ph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15> | 2007-06-11 13:38:38 +0000 |
---|---|---|
committer | ph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15> | 2007-06-11 13:38:38 +0000 |
commit | 6cd094c7b56880c59c20914f08f739d56a859fa6 (patch) | |
tree | 00687cc32d070372a733226e912629b16f1fe7be /NEWS | |
parent | 9d95f8c10848c50c0434d058070c93b4206df01b (diff) | |
download | pcre-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-- | NEWS | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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 |