[Pcre-svn] [222] code/trunk: Adding more callout with string…

トップ ページ
このメッセージを削除
著者: Subversion repository
日付:  
To: pcre-svn
題目: [Pcre-svn] [222] code/trunk: Adding more callout with string tests.
Revision: 222
          http://www.exim.org/viewvc/pcre2?view=rev&revision=222
Author:   zherczeg
Date:     2015-03-12 11:49:29 +0000 (Thu, 12 Mar 2015)


Log Message:
-----------
Adding more callout with string tests.

Modified Paths:
--------------
    code/trunk/ChangeLog
    code/trunk/testdata/testinput2
    code/trunk/testdata/testoutput2


Modified: code/trunk/ChangeLog
===================================================================
--- code/trunk/ChangeLog    2015-03-12 11:21:38 UTC (rev 221)
+++ code/trunk/ChangeLog    2015-03-12 11:49:29 UTC (rev 222)
@@ -6,7 +6,9 @@


1. Callouts with string arguments have been added.

+2. Assertion code generator in JIT has been optimized.

+
Version 10.10 06-March-2015
---------------------------


Modified: code/trunk/testdata/testinput2
===================================================================
--- code/trunk/testdata/testinput2    2015-03-12 11:21:38 UTC (rev 221)
+++ code/trunk/testdata/testinput2    2015-03-12 11:49:29 UTC (rev 222)
@@ -4206,4 +4206,8 @@
 /^a(b)c(?C{AB})def/B
       abcdef\=callout_capture


+/(?C`a``b`)(?C'a''b')(?C"a""b")(?C^a^^b^)(?C%a%%b%)(?C#a##b#)(?C$a$$b$)(?C{a}}b})/B
+
+/(?:a(?C`code`)){3}/B
+
# End of testinput2

Modified: code/trunk/testdata/testoutput2
===================================================================
--- code/trunk/testdata/testoutput2    2015-03-12 11:21:38 UTC (rev 221)
+++ code/trunk/testdata/testoutput2    2015-03-12 11:49:29 UTC (rev 222)
@@ -14060,4 +14060,38 @@
  0: abcdef
  1: b


+/(?C`a``b`)(?C'a''b')(?C"a""b")(?C^a^^b^)(?C%a%%b%)(?C#a##b#)(?C$a$$b$)(?C{a}}b})/B
+------------------------------------------------------------------
+        Bra
+        CalloutStr `a`b` 10 0
+        CalloutStr 'a'b' 20 0
+        CalloutStr "a"b" 30 0
+        CalloutStr ^a^b^ 40 0
+        CalloutStr %a%b% 50 0
+        CalloutStr #a#b# 60 0
+        CalloutStr $a$b$ 70 0
+        CalloutStr {a}b} 80 0
+        Ket
+        End
+------------------------------------------------------------------
+
+/(?:a(?C`code`)){3}/B
+------------------------------------------------------------------
+        Bra
+        Bra
+        a
+        CalloutStr `code` 14 0
+        Ket
+        Bra
+        a
+        CalloutStr `code` 14 0
+        Ket
+        Bra
+        a
+        CalloutStr `code` 14 0
+        Ket
+        Ket
+        End
+------------------------------------------------------------------
+
 # End of testinput2