[Pcre-svn] [682] code/trunk/testdata: Tests for recent bug f…

トップ ページ
このメッセージを削除
著者: Subversion repository
日付:  
To: pcre-svn
題目: [Pcre-svn] [682] code/trunk/testdata: Tests for recent bug fixes.
Revision: 682
          http://vcs.pcre.org/viewvc?view=rev&revision=682
Author:   ph10
Date:     2011-09-06 10:24:07 +0100 (Tue, 06 Sep 2011)


Log Message:
-----------
Tests for recent bug fixes.

Modified Paths:
--------------
    code/trunk/testdata/testinput11
    code/trunk/testdata/testinput7
    code/trunk/testdata/testoutput11
    code/trunk/testdata/testoutput7


Modified: code/trunk/testdata/testinput11
===================================================================
--- code/trunk/testdata/testinput11    2011-09-06 09:16:32 UTC (rev 681)
+++ code/trunk/testdata/testinput11    2011-09-06 09:24:07 UTC (rev 682)
@@ -670,4 +670,9 @@
 name)/K
     abc


+/(?>(?&t)c|(?&t))(?(DEFINE)(?<t>a|b(*PRUNE)c))/
+    a
+    ba
+    bba 
+
 /-- End of testinput11 --/


Modified: code/trunk/testdata/testinput7
===================================================================
--- code/trunk/testdata/testinput7    2011-09-06 09:16:32 UTC (rev 681)
+++ code/trunk/testdata/testinput7    2011-09-06 09:24:07 UTC (rev 682)
@@ -4699,4 +4699,8 @@
 /(?(R)a*(?1)|((?R))b)/
     aaaabcde


+/(a+)/
+    \O6aaaa
+    \O8aaaa
+
 /-- End of testinput7 --/


Modified: code/trunk/testdata/testoutput11
===================================================================
--- code/trunk/testdata/testoutput11    2011-09-06 09:16:32 UTC (rev 681)
+++ code/trunk/testdata/testoutput11    2011-09-06 09:24:07 UTC (rev 682)
@@ -1259,4 +1259,12 @@
 MK: any 
 name


+/(?>(?&t)c|(?&t))(?(DEFINE)(?<t>a|b(*PRUNE)c))/
+    a
+ 0: a
+    ba
+ 0: a
+    bba 
+ 0: a
+
 /-- End of testinput11 --/


Modified: code/trunk/testdata/testoutput7
===================================================================
--- code/trunk/testdata/testoutput7    2011-09-06 09:16:32 UTC (rev 681)
+++ code/trunk/testdata/testoutput7    2011-09-06 09:24:07 UTC (rev 682)
@@ -7846,4 +7846,16 @@
     aaaabcde
 Error -26 (nested recursion at the same subject position)


+/(a+)/
+    \O6aaaa
+Matched, but too many subsidiary matches
+ 0: aaaa
+ 1: aaa
+ 2: aa
+    \O8aaaa
+ 0: aaaa
+ 1: aaa
+ 2: aa
+ 3: a
+
 /-- End of testinput7 --/