[Pcre-svn] [450] code/trunk: Minor doc fix; update tests by…

Página Inicial
Delete this message
Autor: Subversion repository
Data:  
Para: pcre-svn
Assunto: [Pcre-svn] [450] code/trunk: Minor doc fix; update tests by adding comments to each file, and generally
Revision: 450
          http://vcs.pcre.org/viewvc?view=rev&revision=450
Author:   ph10
Date:     2009-09-16 11:56:40 +0100 (Wed, 16 Sep 2009)


Log Message:
-----------
Minor doc fix; update tests by adding comments to each file, and generally
tidying.

Modified Paths:
--------------
    code/trunk/doc/pcrecompat.3
    code/trunk/testdata/testinput1
    code/trunk/testdata/testinput10
    code/trunk/testdata/testinput11
    code/trunk/testdata/testinput12
    code/trunk/testdata/testinput2
    code/trunk/testdata/testinput3
    code/trunk/testdata/testinput4
    code/trunk/testdata/testinput5
    code/trunk/testdata/testinput6
    code/trunk/testdata/testinput7
    code/trunk/testdata/testinput8
    code/trunk/testdata/testinput9
    code/trunk/testdata/testoutput1
    code/trunk/testdata/testoutput10
    code/trunk/testdata/testoutput11
    code/trunk/testdata/testoutput12
    code/trunk/testdata/testoutput2
    code/trunk/testdata/testoutput3
    code/trunk/testdata/testoutput4
    code/trunk/testdata/testoutput5
    code/trunk/testdata/testoutput6
    code/trunk/testdata/testoutput7
    code/trunk/testdata/testoutput8
    code/trunk/testdata/testoutput9


Modified: code/trunk/doc/pcrecompat.3
===================================================================
--- code/trunk/doc/pcrecompat.3    2009-09-16 08:48:17 UTC (rev 449)
+++ code/trunk/doc/pcrecompat.3    2009-09-16 10:56:40 UTC (rev 450)
@@ -46,7 +46,10 @@
 built with Unicode character property support. The properties that can be
 tested with \ep and \eP are limited to the general category properties such as
 Lu and Nd, script names such as Greek or Han, and the derived properties Any
-and L&.
+and L&. PCRE does support the Cs (surrogate) property, which Perl does not; the
+Perl documentation says "Because Perl hides the need for the user to understand
+the internal representation of Unicode characters, there is no need to
+implement the somewhat messy concept of surrogates."
 .P
 7. PCRE does support the \eQ...\eE escape for quoting substrings. Characters in
 between are treated as literals. This is slightly different from Perl in that $
@@ -142,6 +145,6 @@
 .rs
 .sp
 .nf
-Last updated: 15 September 2009
+Last updated: 16 September 2009
 Copyright (c) 1997-2009 University of Cambridge.
 .fi


Modified: code/trunk/testdata/testinput1
===================================================================
--- code/trunk/testdata/testinput1    2009-09-16 08:48:17 UTC (rev 449)
+++ code/trunk/testdata/testinput1    2009-09-16 10:56:40 UTC (rev 450)
@@ -1,3 +1,6 @@
+/-- This set of tests is for features that are compatible with all versions of
+    Perl 5, in non-UTF-8 mode. --/
+
 /the quick brown fox/
     the quick brown fox
     The quick brown FOX
@@ -4064,4 +4067,4 @@
 /^%((?(?=[a])[^%])|b)*%$/
     %ab%


-/ End of testinput1 /
+/-- End of testinput1 --/

Modified: code/trunk/testdata/testinput10
===================================================================
--- code/trunk/testdata/testinput10    2009-09-16 08:48:17 UTC (rev 449)
+++ code/trunk/testdata/testinput10    2009-09-16 10:56:40 UTC (rev 450)
@@ -121,4 +121,4 @@


/[^\xaa]/8BM

-/ End of testinput10 /
+/-- End of testinput10 --/

Modified: code/trunk/testdata/testinput11
===================================================================
--- code/trunk/testdata/testinput11    2009-09-16 08:48:17 UTC (rev 449)
+++ code/trunk/testdata/testinput11    2009-09-16 10:56:40 UTC (rev 450)
@@ -1,3 +1,5 @@
+/-- These tests are for the Perl 5.10 features that PCRE supports. --/
+
 /\H\h\V\v/
     X X\x0a
     X\x09X\x0b
@@ -250,4 +252,4 @@
     ** Failers
     AD 


-/ End of testinput11 /
+/-- End of testinput11 --/

Modified: code/trunk/testdata/testinput12
===================================================================
--- code/trunk/testdata/testinput12    2009-09-16 08:48:17 UTC (rev 449)
+++ code/trunk/testdata/testinput12    2009-09-16 10:56:40 UTC (rev 450)
@@ -1,3 +1,6 @@
+/-- These tests for Unicode property support test PCRE's API and show some of
+    the compiled code. They are not Perl-compatible. --/
+
 /[\p{L}]/DZ


 /[\p{^L}]/DZ
@@ -155,9 +158,9 @@
     \x{c0}
     \x{e0} 


-/The next two are special cases where the lengths of the different cases of the
-same character differ. The first went wrong with heap frame storage; the 2nd
-was broken in all cases./
+/-- The next two are special cases where the lengths of the different cases of
+the same character differ. The first went wrong with heap frame storage; the
+second was broken in all cases. --/

 /^\x{023a}+?(\x{0130}+)/8i
   \x{023a}\x{2c65}\x{0130}
@@ -185,9 +188,9 @@
     \x{c0}
     \x{e0} 


-/The next two should be Perl-compatible, but it fails to match \x{e0}. PCRE
+/-- The next two should be Perl-compatible, but it fails to match \x{e0}. PCRE
will match it only with UCP support, because without that it has no notion
-of case for anything other than the ASCII letters. /
+of case for anything other than the ASCII letters. --/

 /((?i)[\x{c0}])/8
     \x{c0}
@@ -197,3 +200,4 @@
     \x{c0}
     \x{e0} 


+/-- End of testinput12 --/

Modified: code/trunk/testdata/testinput2
===================================================================
--- code/trunk/testdata/testinput2    2009-09-16 08:48:17 UTC (rev 449)
+++ code/trunk/testdata/testinput2    2009-09-16 10:56:40 UTC (rev 450)
@@ -1,3 +1,14 @@
+/-- This set of tests is not Perl-compatible. It checks on special features
+    of PCRE's API, error diagnostics, and the compiled code of some patterns.
+    It also checks the non-Perl syntax the PCRE supports (Python, .NET, 
+    Oniguruma). Finally, there are some tests where PCRE and Perl differ, 
+    either because PCRE can't be compatible, or there is potential Perl 
+    bug. --/  
+  
+/-- Originally, the Perl 5.10 things were in here too, but now I have separated
+    many (most?) of them out into test 11. However, there may still be some
+    that were overlooked. --/   
+
 /(a)b|/I


 /abc/I
@@ -2842,4 +2853,4 @@
 /^X(?7)(a)(?|(b)|(q)(r)(s))(c)(d)(Y)/
     XYabcdY


-/ End of testinput2 /
+/-- End of testinput2 --/

Modified: code/trunk/testdata/testinput3
===================================================================
--- code/trunk/testdata/testinput3    2009-09-16 08:48:17 UTC (rev 449)
+++ code/trunk/testdata/testinput3    2009-09-16 10:56:40 UTC (rev 450)
@@ -1,3 +1,7 @@
+/-- This set of tests checks local-specific features, using the fr_FR locale. 
+    It is not Perl-compatible. There is different version called wintestinput3
+  f  or use on Windows, where the locale is called "french". --/
+
 /^[\w]+/
     *** Failers
     \xC9cole
@@ -88,4 +92,4 @@


/[[:alpha:]][[:lower:]][[:upper:]]/DZLfr_FR

-/ End of testinput3 /
+/-- End of testinput3 --/

Modified: code/trunk/testdata/testinput4
===================================================================
--- code/trunk/testdata/testinput4    2009-09-16 08:48:17 UTC (rev 449)
+++ code/trunk/testdata/testinput4    2009-09-16 10:56:40 UTC (rev 450)
@@ -1,7 +1,6 @@
-/-- Do not use the \x{} construct except with patterns that have the --/
-/-- /8 option set, because PCRE doesn't recognize them as UTF-8 unless --/
-/-- that option is set. However, the latest Perls recognize them always. --/
-
+/-- This set of tests if for UTF-8 support, excluding Unicode properties. It is
+    compatible with all versions of Perl 5. --/
+   
 /a.b/8
     acb
     a\x7fb
@@ -623,4 +622,22 @@


/(?i)[\xc3\xa9\xc3\xbd]|[\xc3\xa9\xc3\xbdA]/8

-/ End of testinput4 /
+/^[a\x{c0}]b/8
+    \x{c0}b
+    
+/^([a\x{c0}]*?)aa/8
+    a\x{c0}aaaa/ 
+
+/^([a\x{c0}]*?)aa/8
+    a\x{c0}aaaa/ 
+    a\x{c0}a\x{c0}aaa/ 
+
+/^([a\x{c0}]*)aa/8
+    a\x{c0}aaaa/ 
+    a\x{c0}a\x{c0}aaa/ 
+
+/^([a\x{c0}]*)a\x{c0}/8
+    a\x{c0}aaaa/ 
+    a\x{c0}a\x{c0}aaa/ 
+
+/-- End of testinput4 --/


Modified: code/trunk/testdata/testinput5
===================================================================
--- code/trunk/testdata/testinput5    2009-09-16 08:48:17 UTC (rev 449)
+++ code/trunk/testdata/testinput5    2009-09-16 10:56:40 UTC (rev 450)
@@ -1,3 +1,6 @@
+/-- This set of tests checks the API, internals, and non-Perl stuff for UTF-8
+    support, excluding Unicode properties. --/
+
 /\x{100}/8DZ


 /\x{1000}/8DZ
@@ -53,30 +56,6 @@
 /.{3,5}?/DZ8
     \x{212ab}\x{212ab}\x{212ab}\x{861}


-/-- These tests are here rather than in testinput4 because Perl 5.6 has some
-problems with UTF-8 support, in the area of \x{..} where the value is < 255. 
-It grumbles about invalid UTF-8 strings. --/
-
-/^[a\x{c0}]b/8
-    \x{c0}b
-    
-/^([a\x{c0}]*?)aa/8
-    a\x{c0}aaaa/ 
-
-/^([a\x{c0}]*?)aa/8
-    a\x{c0}aaaa/ 
-    a\x{c0}a\x{c0}aaa/ 
-
-/^([a\x{c0}]*)aa/8
-    a\x{c0}aaaa/ 
-    a\x{c0}a\x{c0}aaa/ 
-
-/^([a\x{c0}]*)a\x{c0}/8
-    a\x{c0}aaaa/ 
-    a\x{c0}a\x{c0}aaa/ 
-    
-/-- --/ 
-    
 /(?<=\C)X/8
     Should produce an error diagnostic


@@ -741,4 +720,4 @@
     the cat\P
     the cat\P\P


-/ End of testinput5 /
+/-- End of testinput5 --/

Modified: code/trunk/testdata/testinput6
===================================================================
--- code/trunk/testdata/testinput6    2009-09-16 08:48:17 UTC (rev 449)
+++ code/trunk/testdata/testinput6    2009-09-16 10:56:40 UTC (rev 450)
@@ -1,3 +1,7 @@
+/-- This set of tests is for Unicode property support. It is compatible with
+    Perl 5.10, but not 5.8 because it tests some extra properties that are
+    not in the earlier release. --/ 
+
 /^\pC\pL\pM\pN\pP\pS\pZ</8
     \x7f\x{c0}\x{30f}\x{660}\x{66c}\x{f01}\x{1680}<
     \np\x{300}9!\$ < 
@@ -752,4 +756,4 @@
 /[\p{Lu}\x20]+/
     \x41\x20\x50\xC2\x54\xC9\x20\x54\x4F\x44\x41\x59


-/ End of testinput6 /
+/-- End of testinput6 --/

Modified: code/trunk/testdata/testinput7
===================================================================
--- code/trunk/testdata/testinput7    2009-09-16 08:48:17 UTC (rev 449)
+++ code/trunk/testdata/testinput7    2009-09-16 10:56:40 UTC (rev 450)
@@ -1,3 +1,6 @@
+/-- This set of tests check the DFA matching functionality of pcre_dfa_exec().
+    The -dfa flag must be used with pcretest when running it. --/
+     
 /abc/
     abc


@@ -4486,4 +4489,4 @@
 /(?=C)/g+
     ABCDECBA


-/ End of testinput7 /
+/-- End of testinput7 --/

Modified: code/trunk/testdata/testinput8
===================================================================
--- code/trunk/testdata/testinput8    2009-09-16 08:48:17 UTC (rev 449)
+++ code/trunk/testdata/testinput8    2009-09-16 10:56:40 UTC (rev 450)
@@ -1,6 +1,6 @@
-/-- Do not use the \x{} construct except with patterns that have the --/
-/-- /8 option set, because PCRE doesn't recognize them as UTF-8 unless --/
-/-- that option is set. However, the latest Perls recognize them always. --/
+/-- This set of tests checks UTF-8 support with the DFA matching functionality
+    of pcre_dfa_exec(). The -dfa flag must be used with pcretest when running 
+    it. --/


 /\x{100}ab/8
   \x{100}ab
@@ -667,4 +667,4 @@
 /X/8f<any> 
     A\x{1ec5}ABCXYZ


-/ End of testinput 8 /
+/-- End of testinput8 --/

Modified: code/trunk/testdata/testinput9
===================================================================
--- code/trunk/testdata/testinput9    2009-09-16 08:48:17 UTC (rev 449)
+++ code/trunk/testdata/testinput9    2009-09-16 10:56:40 UTC (rev 450)
@@ -1,3 +1,7 @@
+/-- This set of tests check Unicode property support with the DFA matching 
+    functionality of pcre_dfa_exec(). The -dfa flag must be used with pcretest
+    when running it. --/
+
 /\pL\P{Nd}/8
     AB
     *** Failers
@@ -843,4 +847,4 @@
     ** Failers 
     \x{1d79}\x{a77d} 


-/ End /
+/-- End of testinput9 --/

Modified: code/trunk/testdata/testoutput1
===================================================================
--- code/trunk/testdata/testoutput1    2009-09-16 08:48:17 UTC (rev 449)
+++ code/trunk/testdata/testoutput1    2009-09-16 10:56:40 UTC (rev 450)
@@ -1,3 +1,6 @@
+/-- This set of tests is for features that are compatible with all versions of
+    Perl 5, in non-UTF-8 mode. --/
+
 /the quick brown fox/
     the quick brown fox
  0: the quick brown fox
@@ -6646,4 +6649,4 @@
  0: %ab%
  1: 


-/ End of testinput1 /
+/-- End of testinput1 --/

Modified: code/trunk/testdata/testoutput10
===================================================================
--- code/trunk/testdata/testoutput10    2009-09-16 08:48:17 UTC (rev 449)
+++ code/trunk/testdata/testoutput10    2009-09-16 10:56:40 UTC (rev 450)
@@ -666,4 +666,4 @@
  39     End
 ------------------------------------------------------------------


-/ End of testinput10 /
+/-- End of testinput10 --/

Modified: code/trunk/testdata/testoutput11
===================================================================
--- code/trunk/testdata/testoutput11    2009-09-16 08:48:17 UTC (rev 449)
+++ code/trunk/testdata/testoutput11    2009-09-16 10:56:40 UTC (rev 450)
@@ -1,3 +1,5 @@
+/-- These tests are for the Perl 5.10 features that PCRE supports. --/
+
 /\H\h\V\v/
     X X\x0a
  0: X X\x0a
@@ -518,4 +520,4 @@
     AD 
 No match


-/ End of testinput11 /
+/-- End of testinput11 --/

Modified: code/trunk/testdata/testoutput12
===================================================================
--- code/trunk/testdata/testoutput12    2009-09-16 08:48:17 UTC (rev 449)
+++ code/trunk/testdata/testoutput12    2009-09-16 10:56:40 UTC (rev 450)
@@ -1,3 +1,6 @@
+/-- These tests for Unicode property support test PCRE's API and show some of
+    the compiled code. They are not Perl-compatible. --/
+
 /[\p{L}]/DZ
 ------------------------------------------------------------------
         Bra
@@ -399,9 +402,9 @@
     \x{e0} 
  0: \x{e0}


-/The next two are special cases where the lengths of the different cases of the
-same character differ. The first went wrong with heap frame storage; the 2nd
-was broken in all cases./
+/-- The next two are special cases where the lengths of the different cases of
+the same character differ. The first went wrong with heap frame storage; the
+second was broken in all cases. --/

 /^\x{023a}+?(\x{0130}+)/8i
   \x{023a}\x{2c65}\x{0130}
@@ -447,9 +450,9 @@
     \x{e0} 
  0: \x{e0}


-/The next two should be Perl-compatible, but it fails to match \x{e0}. PCRE
+/-- The next two should be Perl-compatible, but it fails to match \x{e0}. PCRE
will match it only with UCP support, because without that it has no notion
-of case for anything other than the ASCII letters. /
+of case for anything other than the ASCII letters. --/

 /((?i)[\x{c0}])/8
     \x{c0}
@@ -465,3 +468,4 @@
     \x{e0} 
  0: \x{e0}


+/-- End of testinput12 --/

Modified: code/trunk/testdata/testoutput2
===================================================================
--- code/trunk/testdata/testoutput2    2009-09-16 08:48:17 UTC (rev 449)
+++ code/trunk/testdata/testoutput2    2009-09-16 10:56:40 UTC (rev 450)
@@ -1,3 +1,14 @@
+/-- This set of tests is not Perl-compatible. It checks on special features
+    of PCRE's API, error diagnostics, and the compiled code of some patterns.
+    It also checks the non-Perl syntax the PCRE supports (Python, .NET, 
+    Oniguruma). Finally, there are some tests where PCRE and Perl differ, 
+    either because PCRE can't be compatible, or there is potential Perl 
+    bug. --/  
+  
+/-- Originally, the Perl 5.10 things were in here too, but now I have separated
+    many (most?) of them out into test 11. However, there may still be some
+    that were overlooked. --/   
+
 /(a)b|/I
 Capturing subpattern count = 1
 No options
@@ -9834,4 +9845,4 @@
  6: d
  7: Y


-/ End of testinput2 /
+/-- End of testinput2 --/

Modified: code/trunk/testdata/testoutput3
===================================================================
--- code/trunk/testdata/testoutput3    2009-09-16 08:48:17 UTC (rev 449)
+++ code/trunk/testdata/testoutput3    2009-09-16 10:56:40 UTC (rev 450)
@@ -1,3 +1,7 @@
+/-- This set of tests checks local-specific features, using the fr_FR locale. 
+    It is not Perl-compatible. There is different version called wintestinput3
+  f  or use on Windows, where the locale is called "french". --/
+
 /^[\w]+/
     *** Failers
 No match
@@ -160,4 +164,4 @@
 No first char
 No need char


-/ End of testinput3 /
+/-- End of testinput3 --/

Modified: code/trunk/testdata/testoutput4
===================================================================
--- code/trunk/testdata/testoutput4    2009-09-16 08:48:17 UTC (rev 449)
+++ code/trunk/testdata/testoutput4    2009-09-16 10:56:40 UTC (rev 450)
@@ -1,9 +1,6 @@
-/-- Do not use the \x{} construct except with patterns that have the --/
-/-- /8 option set, because PCRE doesn't recognize them as UTF-8 unless --/
-No match
-/-- that option is set. However, the latest Perls recognize them always. --/
-No match
-
+/-- This set of tests if for UTF-8 support, excluding Unicode properties. It is
+    compatible with all versions of Perl 5. --/
+   
 /a.b/8
     acb
  0: acb
@@ -1089,4 +1086,37 @@


/(?i)[\xc3\xa9\xc3\xbd]|[\xc3\xa9\xc3\xbdA]/8

-/ End of testinput4 /
+/^[a\x{c0}]b/8
+    \x{c0}b
+ 0: \x{c0}b
+    
+/^([a\x{c0}]*?)aa/8
+    a\x{c0}aaaa/ 
+ 0: a\x{c0}aa
+ 1: a\x{c0}
+
+/^([a\x{c0}]*?)aa/8
+    a\x{c0}aaaa/ 
+ 0: a\x{c0}aa
+ 1: a\x{c0}
+    a\x{c0}a\x{c0}aaa/ 
+ 0: a\x{c0}a\x{c0}aa
+ 1: a\x{c0}a\x{c0}
+
+/^([a\x{c0}]*)aa/8
+    a\x{c0}aaaa/ 
+ 0: a\x{c0}aaaa
+ 1: a\x{c0}aa
+    a\x{c0}a\x{c0}aaa/ 
+ 0: a\x{c0}a\x{c0}aaa
+ 1: a\x{c0}a\x{c0}a
+
+/^([a\x{c0}]*)a\x{c0}/8
+    a\x{c0}aaaa/ 
+ 0: a\x{c0}
+ 1: 
+    a\x{c0}a\x{c0}aaa/ 
+ 0: a\x{c0}a\x{c0}
+ 1: a\x{c0}
+
+/-- End of testinput4 --/


Modified: code/trunk/testdata/testoutput5
===================================================================
--- code/trunk/testdata/testoutput5    2009-09-16 08:48:17 UTC (rev 449)
+++ code/trunk/testdata/testoutput5    2009-09-16 10:56:40 UTC (rev 450)
@@ -1,3 +1,6 @@
+/-- This set of tests checks the API, internals, and non-Perl stuff for UTF-8
+    support, excluding Unicode properties. --/
+
 /\x{100}/8DZ
 ------------------------------------------------------------------
         Bra
@@ -274,45 +277,6 @@
     \x{212ab}\x{212ab}\x{212ab}\x{861}
  0: \x{212ab}\x{212ab}\x{212ab}


-/-- These tests are here rather than in testinput4 because Perl 5.6 has some
-problems with UTF-8 support, in the area of \x{..} where the value is < 255. 
-It grumbles about invalid UTF-8 strings. --/
-
-/^[a\x{c0}]b/8
-    \x{c0}b
- 0: \x{c0}b
-    
-/^([a\x{c0}]*?)aa/8
-    a\x{c0}aaaa/ 
- 0: a\x{c0}aa
- 1: a\x{c0}
-
-/^([a\x{c0}]*?)aa/8
-    a\x{c0}aaaa/ 
- 0: a\x{c0}aa
- 1: a\x{c0}
-    a\x{c0}a\x{c0}aaa/ 
- 0: a\x{c0}a\x{c0}aa
- 1: a\x{c0}a\x{c0}
-
-/^([a\x{c0}]*)aa/8
-    a\x{c0}aaaa/ 
- 0: a\x{c0}aaaa
- 1: a\x{c0}aa
-    a\x{c0}a\x{c0}aaa/ 
- 0: a\x{c0}a\x{c0}aaa
- 1: a\x{c0}a\x{c0}a
-
-/^([a\x{c0}]*)a\x{c0}/8
-    a\x{c0}aaaa/ 
- 0: a\x{c0}
- 1: 
-    a\x{c0}a\x{c0}aaa/ 
- 0: a\x{c0}a\x{c0}
- 1: a\x{c0}
-    
-/-- --/ 
-    
 /(?<=\C)X/8
 Failed: \C not allowed in lookbehind assertion at offset 6


@@ -2067,4 +2031,4 @@
     the cat\P\P
 Partial match: the cat


-/ End of testinput5 /
+/-- End of testinput5 --/

Modified: code/trunk/testdata/testoutput6
===================================================================
--- code/trunk/testdata/testoutput6    2009-09-16 08:48:17 UTC (rev 449)
+++ code/trunk/testdata/testoutput6    2009-09-16 10:56:40 UTC (rev 450)
@@ -1,3 +1,7 @@
+/-- This set of tests is for Unicode property support. It is compatible with
+    Perl 5.10, but not 5.8 because it tests some extra properties that are
+    not in the earlier release. --/ 
+
 /^\pC\pL\pM\pN\pP\pS\pZ</8
     \x7f\x{c0}\x{30f}\x{660}\x{66c}\x{f01}\x{1680}<
  0: \x{7f}\x{c0}\x{30f}\x{660}\x{66c}\x{f01}\x{1680}<
@@ -1289,4 +1293,4 @@
     \x41\x20\x50\xC2\x54\xC9\x20\x54\x4F\x44\x41\x59
  0: A P\xc2T\xc9 TODAY


-/ End of testinput6 /
+/-- End of testinput6 --/

Modified: code/trunk/testdata/testoutput7
===================================================================
--- code/trunk/testdata/testoutput7    2009-09-16 08:48:17 UTC (rev 449)
+++ code/trunk/testdata/testoutput7    2009-09-16 10:56:40 UTC (rev 450)
@@ -1,3 +1,6 @@
+/-- This set of tests check the DFA matching functionality of pcre_dfa_exec().
+    The -dfa flag must be used with pcretest when running it. --/
+     
 /abc/
     abc
  0: abc
@@ -7469,4 +7472,4 @@
  0: 
  0+ CBA


-/ End of testinput7 /
+/-- End of testinput7 --/

Modified: code/trunk/testdata/testoutput8
===================================================================
--- code/trunk/testdata/testoutput8    2009-09-16 08:48:17 UTC (rev 449)
+++ code/trunk/testdata/testoutput8    2009-09-16 10:56:40 UTC (rev 450)
@@ -1,8 +1,6 @@
-/-- Do not use the \x{} construct except with patterns that have the --/
-/-- /8 option set, because PCRE doesn't recognize them as UTF-8 unless --/
-No match
-/-- that option is set. However, the latest Perls recognize them always. --/
-No match
+/-- This set of tests checks UTF-8 support with the DFA matching functionality
+    of pcre_dfa_exec(). The -dfa flag must be used with pcretest when running 
+    it. --/


 /\x{100}ab/8
   \x{100}ab
@@ -1288,4 +1286,4 @@
     A\x{1ec5}ABCXYZ
  0: X


-/ End of testinput 8 /
+/-- End of testinput8 --/

Modified: code/trunk/testdata/testoutput9
===================================================================
--- code/trunk/testdata/testoutput9    2009-09-16 08:48:17 UTC (rev 449)
+++ code/trunk/testdata/testoutput9    2009-09-16 10:56:40 UTC (rev 450)
@@ -1,3 +1,7 @@
+/-- This set of tests check Unicode property support with the DFA matching 
+    functionality of pcre_dfa_exec(). The -dfa flag must be used with pcretest
+    when running it. --/
+
 /\pL\P{Nd}/8
     AB
  0: AB
@@ -1670,4 +1674,4 @@
     \x{1d79}\x{a77d} 
 No match


-/ End /
+/-- End of testinput9 --/