/[pcre]/code/trunk/testdata/testoutput5
ViewVC logotype

Diff of /code/trunk/testdata/testoutput5

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 651 by ph10, Mon Aug 1 16:32:40 2011 UTC revision 849 by ph10, Wed Jan 4 17:02:01 2012 UTC
# Line 1  Line 1 
1  /-- This set of tests checks the API, internals, and non-Perl stuff for UTF-8  /-- This set of tests checks the API, internals, and non-Perl stuff for UTF
2      support, excluding Unicode properties. --/      support, excluding Unicode properties. However, tests that give different
3        results in 8-bit and 16-bit modes are excluded (see tests 16 and 17). --/
4    
5  /\x{100}/8DZ  /\x{110000}/8DZ
6  ------------------------------------------------------------------  Failed: character value in \x{...} sequence is too large at offset 9
         Bra  
         \x{100}  
         Ket  
         End  
 ------------------------------------------------------------------  
 Capturing subpattern count = 0  
 Options: utf8  
 First char = 196  
 Need char = 128  
   
 /\x{1000}/8DZ  
 ------------------------------------------------------------------  
         Bra  
         \x{1000}  
         Ket  
         End  
 ------------------------------------------------------------------  
 Capturing subpattern count = 0  
 Options: utf8  
 First char = 225  
 Need char = 128  
   
 /\x{10000}/8DZ  
 ------------------------------------------------------------------  
         Bra  
         \x{10000}  
         Ket  
         End  
 ------------------------------------------------------------------  
 Capturing subpattern count = 0  
 Options: utf8  
 First char = 240  
 Need char = 128  
   
 /\x{100000}/8DZ  
 ------------------------------------------------------------------  
         Bra  
         \x{100000}  
         Ket  
         End  
 ------------------------------------------------------------------  
 Capturing subpattern count = 0  
 Options: utf8  
 First char = 244  
 Need char = 128  
   
 /\x{1000000}/8DZ  
 ------------------------------------------------------------------  
         Bra  
         \x{1000000}  
         Ket  
         End  
 ------------------------------------------------------------------  
 Capturing subpattern count = 0  
 Options: utf8  
 First char = 249  
 Need char = 128  
   
 /\x{4000000}/8DZ  
 ------------------------------------------------------------------  
         Bra  
         \x{4000000}  
         Ket  
         End  
 ------------------------------------------------------------------  
 Capturing subpattern count = 0  
 Options: utf8  
 First char = 252  
 Need char = 128  
   
 /\x{7fffFFFF}/8DZ  
 ------------------------------------------------------------------  
         Bra  
         \x{7fffffff}  
         Ket  
         End  
 ------------------------------------------------------------------  
 Capturing subpattern count = 0  
 Options: utf8  
 First char = 253  
 Need char = 191  
   
 /[\x{ff}]/8DZ  
 ------------------------------------------------------------------  
         Bra  
         \x{ff}  
         Ket  
         End  
 ------------------------------------------------------------------  
 Capturing subpattern count = 0  
 Options: utf8  
 First char = 195  
 Need char = 191  
   
 /[\x{100}]/8DZ  
 ------------------------------------------------------------------  
         Bra  
         [\x{100}]  
         Ket  
         End  
 ------------------------------------------------------------------  
 Capturing subpattern count = 0  
 Options: utf8  
 No first char  
 No need char  
7    
8  /\x{ffffffff}/8  /\x{ffffffff}/8
9  Failed: character value in \x{...} sequence is too large at offset 11  Failed: character value in \x{...} sequence is too large at offset 11
# Line 115  Failed: character value in \x{...} seque Line 11  Failed: character value in \x{...} seque
11  /\x{100000000}/8  /\x{100000000}/8
12  Failed: character value in \x{...} sequence is too large at offset 12  Failed: character value in \x{...} sequence is too large at offset 12
13    
14    /\x{d800}/8
15    Failed: disallowed Unicode code point (>= 0xd800 && <= 0xdfff) at offset 7
16    
17    /\x{dfff}/8
18    Failed: disallowed Unicode code point (>= 0xd800 && <= 0xdfff) at offset 7
19    
20    /\x{d7ff}/8
21    
22    /\x{e000}/8
23    
24  /^\x{100}a\x{1234}/8  /^\x{100}a\x{1234}/8
25      \x{100}a\x{1234}bcd      \x{100}a\x{1234}bcd
26   0: \x{100}a\x{1234}   0: \x{100}a\x{1234}
27    
 /\x80/8DZ  
 ------------------------------------------------------------------  
         Bra  
         \x{80}  
         Ket  
         End  
 ------------------------------------------------------------------  
 Capturing subpattern count = 0  
 Options: utf8  
 First char = 194  
 Need char = 128  
   
 /\xff/8DZ  
 ------------------------------------------------------------------  
         Bra  
         \x{ff}  
         Ket  
         End  
 ------------------------------------------------------------------  
 Capturing subpattern count = 0  
 Options: utf8  
 First char = 195  
 Need char = 191  
   
28  /\x{0041}\x{2262}\x{0391}\x{002e}/DZ8  /\x{0041}\x{2262}\x{0391}\x{002e}/DZ8
29  ------------------------------------------------------------------  ------------------------------------------------------------------
30          Bra          Bra
# Line 151  Need char = 191 Line 33  Need char = 191
33          End          End
34  ------------------------------------------------------------------  ------------------------------------------------------------------
35  Capturing subpattern count = 0  Capturing subpattern count = 0
36  Options: utf8  Options: utf
37  First char = 'A'  First char = 'A'
38  Need char = '.'  Need char = '.'
39      \x{0041}\x{2262}\x{0391}\x{002e}      \x{0041}\x{2262}\x{0391}\x{002e}
40   0: A\x{2262}\x{391}.   0: A\x{2262}\x{391}.
41    
 /\x{D55c}\x{ad6d}\x{C5B4}/DZ8  
 ------------------------------------------------------------------  
         Bra  
         \x{d55c}\x{ad6d}\x{c5b4}  
         Ket  
         End  
 ------------------------------------------------------------------  
 Capturing subpattern count = 0  
 Options: utf8  
 First char = 237  
 Need char = 180  
     \x{D55c}\x{ad6d}\x{C5B4}  
  0: \x{d55c}\x{ad6d}\x{c5b4}  
   
 /\x{65e5}\x{672c}\x{8a9e}/DZ8  
 ------------------------------------------------------------------  
         Bra  
         \x{65e5}\x{672c}\x{8a9e}  
         Ket  
         End  
 ------------------------------------------------------------------  
 Capturing subpattern count = 0  
 Options: utf8  
 First char = 230  
 Need char = 158  
     \x{65e5}\x{672c}\x{8a9e}  
  0: \x{65e5}\x{672c}\x{8a9e}  
   
 /\x{80}/DZ8  
 ------------------------------------------------------------------  
         Bra  
         \x{80}  
         Ket  
         End  
 ------------------------------------------------------------------  
 Capturing subpattern count = 0  
 Options: utf8  
 First char = 194  
 Need char = 128  
   
 /\x{084}/DZ8  
 ------------------------------------------------------------------  
         Bra  
         \x{84}  
         Ket  
         End  
 ------------------------------------------------------------------  
 Capturing subpattern count = 0  
 Options: utf8  
 First char = 194  
 Need char = 132  
   
 /\x{104}/DZ8  
 ------------------------------------------------------------------  
         Bra  
         \x{104}  
         Ket  
         End  
 ------------------------------------------------------------------  
 Capturing subpattern count = 0  
 Options: utf8  
 First char = 196  
 Need char = 132  
   
 /\x{861}/DZ8  
 ------------------------------------------------------------------  
         Bra  
         \x{861}  
         Ket  
         End  
 ------------------------------------------------------------------  
 Capturing subpattern count = 0  
 Options: utf8  
 First char = 224  
 Need char = 161  
   
 /\x{212ab}/DZ8  
 ------------------------------------------------------------------  
         Bra  
         \x{212ab}  
         Ket  
         End  
 ------------------------------------------------------------------  
 Capturing subpattern count = 0  
 Options: utf8  
 First char = 240  
 Need char = 171  
   
42  /.{3,5}X/DZ8  /.{3,5}X/DZ8
43  ------------------------------------------------------------------  ------------------------------------------------------------------
44          Bra          Bra
# Line 255  Need char = 171 Line 49  Need char = 171
49          End          End
50  ------------------------------------------------------------------  ------------------------------------------------------------------
51  Capturing subpattern count = 0  Capturing subpattern count = 0
52  Options: utf8  Options: utf
53  No first char  No first char
54  Need char = 'X'  Need char = 'X'
55      \x{212ab}\x{212ab}\x{212ab}\x{861}X      \x{212ab}\x{212ab}\x{212ab}\x{861}X
56   0: \x{212ab}\x{212ab}\x{212ab}\x{861}X   0: \x{212ab}\x{212ab}\x{212ab}\x{861}X
57    
   
58  /.{3,5}?/DZ8  /.{3,5}?/DZ8
59  ------------------------------------------------------------------  ------------------------------------------------------------------
60          Bra          Bra
# Line 271  Need char = 'X' Line 64  Need char = 'X'
64          End          End
65  ------------------------------------------------------------------  ------------------------------------------------------------------
66  Capturing subpattern count = 0  Capturing subpattern count = 0
67  Options: utf8  Options: utf
68  No first char  No first char
69  No need char  No need char
70      \x{212ab}\x{212ab}\x{212ab}\x{861}      \x{212ab}\x{212ab}\x{212ab}\x{861}
# Line 280  No need char Line 73  No need char
73  /(?<=\C)X/8  /(?<=\C)X/8
74  Failed: \C not allowed in lookbehind assertion at offset 6  Failed: \C not allowed in lookbehind assertion at offset 6
75    
 /-- This one is here not because it's different to Perl, but because the way  
 the captured single-byte is displayed. (In Perl it becomes a character, and you  
 can't tell the difference.) --/  
   
 /X(\C)(.*)/8  
     X\x{1234}  
  0: X\x{1234}  
  1: \xe1  
  2: \x88\xb4  
     X\nabc  
  0: X\x{0a}abc  
  1: \x{0a}  
  2: abc  
   
 /-- This one is here because Perl gives out a grumbly error message (quite  
 correctly, but that messes up comparisons). --/  
   
 /a\Cb/8  
     *** Failers  
 No match  
     a\x{100}b  
 No match  
   
76  /^[ab]/8DZ  /^[ab]/8DZ
77  ------------------------------------------------------------------  ------------------------------------------------------------------
78          Bra          Bra
# Line 312  No match Line 82  No match
82          End          End
83  ------------------------------------------------------------------  ------------------------------------------------------------------
84  Capturing subpattern count = 0  Capturing subpattern count = 0
85  Options: anchored utf8  Options: anchored utf
86  No first char  No first char
87  No need char  No need char
88      bar      bar
# Line 335  No match Line 105  No match
105          End          End
106  ------------------------------------------------------------------  ------------------------------------------------------------------
107  Capturing subpattern count = 0  Capturing subpattern count = 0
108  Options: anchored utf8  Options: anchored utf
109  No first char  No first char
110  No need char  No need char
111      c      c
# Line 349  No need char Line 119  No need char
119      aaa      aaa
120  No match  No match
121    
 /[^ab\xC0-\xF0]/8SDZ  
 ------------------------------------------------------------------  
         Bra  
         [\x00-`c-\xbf\xf1-\xff] (neg)  
         Ket  
         End  
 ------------------------------------------------------------------  
 Capturing subpattern count = 0  
 Options: utf8  
 No first char  
 No need char  
 Subject length lower bound = 1  
 Starting byte set: \x00 \x01 \x02 \x03 \x04 \x05 \x06 \x07 \x08 \x09 \x0a  
   \x0b \x0c \x0d \x0e \x0f \x10 \x11 \x12 \x13 \x14 \x15 \x16 \x17 \x18 \x19  
   \x1a \x1b \x1c \x1d \x1e \x1f \x20 ! " # $ % & ' ( ) * + , - . / 0 1 2 3 4  
   5 6 7 8 9 : ; < = > ? @ A B C D E F G H I J K L M N O P Q R S T U V W X Y  
   Z [ \ ] ^ _ ` c d e f g h i j k l m n o p q r s t u v w x y z { | } ~ \x7f  
   \xc2 \xc3 \xc4 \xc5 \xc6 \xc7 \xc8 \xc9 \xca \xcb \xcc \xcd \xce \xcf \xd0  
   \xd1 \xd2 \xd3 \xd4 \xd5 \xd6 \xd7 \xd8 \xd9 \xda \xdb \xdc \xdd \xde \xdf  
   \xe0 \xe1 \xe2 \xe3 \xe4 \xe5 \xe6 \xe7 \xe8 \xe9 \xea \xeb \xec \xed \xee  
   \xef \xf0 \xf1 \xf2 \xf3 \xf4 \xf5 \xf6 \xf7 \xf8 \xf9 \xfa \xfb \xfc \xfd  
   \xfe \xff  
     \x{f1}  
  0: \x{f1}  
     \x{bf}  
  0: \x{bf}  
     \x{100}  
  0: \x{100}  
     \x{1000}  
  0: \x{1000}  
     *** Failers  
  0: *  
     \x{c0}  
 No match  
     \x{f0}  
 No match  
   
 /Ā{3,4}/8SDZ  
 ------------------------------------------------------------------  
         Bra  
         \x{100}{3}  
         \x{100}?  
         Ket  
         End  
 ------------------------------------------------------------------  
 Capturing subpattern count = 0  
 Options: utf8  
 First char = 196  
 Need char = 128  
 Subject length lower bound = 3  
 No set of starting bytes  
   \x{100}\x{100}\x{100}\x{100\x{100}  
  0: \x{100}\x{100}\x{100}  
   
 /(\x{100}+|x)/8SDZ  
 ------------------------------------------------------------------  
         Bra  
         CBra 1  
         \x{100}+  
         Alt  
         x  
         Ket  
         Ket  
         End  
 ------------------------------------------------------------------  
 Capturing subpattern count = 1  
 Options: utf8  
 No first char  
 No need char  
 Subject length lower bound = 1  
 Starting byte set: x \xc4  
   
 /(\x{100}*a|x)/8SDZ  
 ------------------------------------------------------------------  
         Bra  
         CBra 1  
         \x{100}*+  
         a  
         Alt  
         x  
         Ket  
         Ket  
         End  
 ------------------------------------------------------------------  
 Capturing subpattern count = 1  
 Options: utf8  
 No first char  
 No need char  
 Subject length lower bound = 1  
 Starting byte set: a x \xc4  
   
 /(\x{100}{0,2}a|x)/8SDZ  
 ------------------------------------------------------------------  
         Bra  
         CBra 1  
         \x{100}{0,2}  
         a  
         Alt  
         x  
         Ket  
         Ket  
         End  
 ------------------------------------------------------------------  
 Capturing subpattern count = 1  
 Options: utf8  
 No first char  
 No need char  
 Subject length lower bound = 1  
 Starting byte set: a x \xc4  
   
 /(\x{100}{1,2}a|x)/8SDZ  
 ------------------------------------------------------------------  
         Bra  
         CBra 1  
         \x{100}  
         \x{100}{0,1}  
         a  
         Alt  
         x  
         Ket  
         Ket  
         End  
 ------------------------------------------------------------------  
 Capturing subpattern count = 1  
 Options: utf8  
 No first char  
 No need char  
 Subject length lower bound = 1  
 Starting byte set: x \xc4  
   
122  /\x{100}*(\d+|"(?1)")/8  /\x{100}*(\d+|"(?1)")/8
123      1234      1234
124   0: 1234   0: 1234
# Line 503  No match Line 143  No match
143      \x{100}\x{100}abcd      \x{100}\x{100}abcd
144  No match  No match
145    
 /\x{100}/8DZ  
 ------------------------------------------------------------------  
         Bra  
         \x{100}  
         Ket  
         End  
 ------------------------------------------------------------------  
 Capturing subpattern count = 0  
 Options: utf8  
 First char = 196  
 Need char = 128  
   
146  /\x{100}*/8DZ  /\x{100}*/8DZ
147  ------------------------------------------------------------------  ------------------------------------------------------------------
148          Bra          Bra
# Line 523  Need char = 128 Line 151  Need char = 128
151          End          End
152  ------------------------------------------------------------------  ------------------------------------------------------------------
153  Capturing subpattern count = 0  Capturing subpattern count = 0
154  Options: utf8  Options: utf
155  No first char  No first char
156  No need char  No need char
157    
# Line 536  No need char Line 164  No need char
164          End          End
165  ------------------------------------------------------------------  ------------------------------------------------------------------
166  Capturing subpattern count = 0  Capturing subpattern count = 0
167  Options: utf8  Options: utf
168  First char = 'a'  First char = 'a'
169  No need char  No need char
170    
# Line 549  No need char Line 177  No need char
177          End          End
178  ------------------------------------------------------------------  ------------------------------------------------------------------
179  Capturing subpattern count = 0  Capturing subpattern count = 0
180  Options: utf8  Options: utf
181  First char = 'a'  First char = 'a'
182  Need char = 'b'  Need char = 'b'
183    
 /a\x{100}\x{101}*/8DZ  
 ------------------------------------------------------------------  
         Bra  
         a\x{100}  
         \x{101}*  
         Ket  
         End  
 ------------------------------------------------------------------  
 Capturing subpattern count = 0  
 Options: utf8  
 First char = 'a'  
 Need char = 128  
   
 /a\x{100}\x{101}+/8DZ  
 ------------------------------------------------------------------  
         Bra  
         a\x{100}  
         \x{101}+  
         Ket  
         End  
 ------------------------------------------------------------------  
 Capturing subpattern count = 0  
 Options: utf8  
 First char = 'a'  
 Need char = 129  
   
184  /\x{100}*A/8DZ  /\x{100}*A/8DZ
185  ------------------------------------------------------------------  ------------------------------------------------------------------
186          Bra          Bra
# Line 588  Need char = 129 Line 190  Need char = 129
190          End          End
191  ------------------------------------------------------------------  ------------------------------------------------------------------
192  Capturing subpattern count = 0  Capturing subpattern count = 0
193  Options: utf8  Options: utf
194  No first char  No first char
195  Need char = 'A'  Need char = 'A'
196      A      A
# Line 604  Need char = 'A' Line 206  Need char = 'A'
206          End          End
207  ------------------------------------------------------------------  ------------------------------------------------------------------
208  Capturing subpattern count = 0  Capturing subpattern count = 0
209  Options: utf8  Options: utf
 No first char  
 No need char  
   
 /[^\x{c4}]/DZ  
 ------------------------------------------------------------------  
         Bra  
         [^\xc4]  
         Ket  
         End  
 ------------------------------------------------------------------  
 Capturing subpattern count = 0  
 No options  
 No first char  
 No need char  
   
 /[^\x{c4}]/8DZ  
 ------------------------------------------------------------------  
         Bra  
         [\x00-\xc3\xc5-\xff] (neg)  
         Ket  
         End  
 ------------------------------------------------------------------  
 Capturing subpattern count = 0  
 Options: utf8  
 No first char  
 No need char  
   
 /[\x{100}]/8DZ  
 ------------------------------------------------------------------  
         Bra  
         [\x{100}]  
         Ket  
         End  
 ------------------------------------------------------------------  
 Capturing subpattern count = 0  
 Options: utf8  
210  No first char  No first char
211  No need char  No need char
     \x{100}  
  0: \x{100}  
     Z\x{100}  
  0: \x{100}  
     \x{100}Z  
  0: \x{100}  
     *** Failers  
 No match  
212    
213  /[Z\x{100}]/8DZ  /[Z\x{100}]/8DZ
214  ------------------------------------------------------------------  ------------------------------------------------------------------
# Line 660  No match Line 218  No match
218          End          End
219  ------------------------------------------------------------------  ------------------------------------------------------------------
220  Capturing subpattern count = 0  Capturing subpattern count = 0
221  Options: utf8  Options: utf
222  No first char  No first char
223  No need char  No need char
224      Z\x{100}      Z\x{100}
# Line 695  No match Line 253  No match
253          End          End
254  ------------------------------------------------------------------  ------------------------------------------------------------------
255  Capturing subpattern count = 0  Capturing subpattern count = 0
256  Options: utf8  Options: utf
257  No first char  No first char
258  No need char  No need char
259    
# Line 707  No need char Line 265  No need char
265          End          End
266  ------------------------------------------------------------------  ------------------------------------------------------------------
267  Capturing subpattern count = 0  Capturing subpattern count = 0
268  Options: utf8  Options: utf
269  No first char  No first char
270  No need char  No need char
271      \x{100}      \x{100}
# Line 724  No need char Line 282  No need char
282  ------------------------------------------------------------------  ------------------------------------------------------------------
283  Capturing subpattern count = 0  Capturing subpattern count = 0
284  No options  No options
285  First char = 255  First char = \xff
286  No need char  No need char
287      >\xff<      >\xff<
288   0: \xff   0: \xff
289    
 /[\xff]/DZ8  
 ------------------------------------------------------------------  
         Bra  
         \x{ff}  
         Ket  
         End  
 ------------------------------------------------------------------  
 Capturing subpattern count = 0  
 Options: utf8  
 First char = 195  
 Need char = 191  
     >\x{ff}<  
  0: \x{ff}  
   
290  /[^\xFF]/DZ  /[^\xFF]/DZ
291  ------------------------------------------------------------------  ------------------------------------------------------------------
292          Bra          Bra
# Line 755  No options Line 299  No options
299  No first char  No first char
300  No need char  No need char
301    
 /[^\xff]/8DZ  
 ------------------------------------------------------------------  
         Bra  
         [\x00-\xfe] (neg)  
         Ket  
         End  
 ------------------------------------------------------------------  
 Capturing subpattern count = 0  
 Options: utf8  
 No first char  
 No need char  
   
302  /[Ä-Ü]/8  /[Ä-Ü]/8
303      Ö # Matches without Study      Ö # Matches without Study
304   0: \x{d6}   0: \x{d6}
# Line 791  No need char Line 323  No need char
323      \x{d6}      \x{d6}
324   0: \x{d6}   0: \x{d6}
325    
 /[]/8  
 Failed: invalid UTF-8 string at offset 1  
   
 //8  
 Failed: invalid UTF-8 string at offset 0  
   
 /xxx/8  
 Failed: invalid UTF-8 string at offset 0  
   
 /xxx/8?DZSS  
 ------------------------------------------------------------------  
         Bra  
         \X{c0}\X{c0}\X{c0}xxx  
         Ket  
         End  
 ------------------------------------------------------------------  
 Capturing subpattern count = 0  
 Options: utf8 no_utf8_check  
 First char = 195  
 Need char = 'x'  
   
 /abc/8  
     ]  
 Error -10 (bad UTF-8 string) offset=0 reason=6  
       
 Error -10 (bad UTF-8 string) offset=0 reason=1  
       
 Error -10 (bad UTF-8 string) offset=0 reason=6  
     \?  
 No match  
     \xe1\x88  
 Error -10 (bad UTF-8 string) offset=0 reason=1  
     \P\xe1\x88  
 Error -10 (bad UTF-8 string) offset=0 reason=1  
     \P\P\xe1\x88  
 Error -25 (short UTF-8 string) offset=0 reason=1  
     XX\xea  
 Error -10 (bad UTF-8 string) offset=2 reason=2  
     \O0XX\xea  
 Error -10 (bad UTF-8 string)  
     \O1XX\xea  
 Error -10 (bad UTF-8 string)  
     \O2XX\xea  
 Error -10 (bad UTF-8 string) offset=2 reason=2  
     XX\xf1  
 Error -10 (bad UTF-8 string) offset=2 reason=3  
     XX\xf8  
 Error -10 (bad UTF-8 string) offset=2 reason=4  
     XX\xfc  
 Error -10 (bad UTF-8 string) offset=2 reason=5  
     ZZ\xea\xaf\x20YY  
 Error -10 (bad UTF-8 string) offset=2 reason=7  
     ZZ\xfd\xbf\xbf\x2f\xbf\xbfYY  
 Error -10 (bad UTF-8 string) offset=2 reason=8  
     ZZ\xfd\xbf\xbf\xbf\x2f\xbfYY  
 Error -10 (bad UTF-8 string) offset=2 reason=9  
     ZZ\xfd\xbf\xbf\xbf\xbf\x2fYY  
 Error -10 (bad UTF-8 string) offset=2 reason=10  
     ZZ\xffYY  
 Error -10 (bad UTF-8 string) offset=2 reason=21  
     ZZ\xfeYY  
 Error -10 (bad UTF-8 string) offset=2 reason=21  
   
 /anything/8  
     \xc0\x80  
 Error -10 (bad UTF-8 string) offset=0 reason=15  
     \xc1\x8f  
 Error -10 (bad UTF-8 string) offset=0 reason=15  
     \xe0\x9f\x80  
 Error -10 (bad UTF-8 string) offset=0 reason=16  
     \xf0\x8f\x80\x80  
 Error -10 (bad UTF-8 string) offset=0 reason=17  
     \xf8\x87\x80\x80\x80  
 Error -10 (bad UTF-8 string) offset=0 reason=18  
     \xfc\x83\x80\x80\x80\x80  
 Error -10 (bad UTF-8 string) offset=0 reason=19  
     \xfe\x80\x80\x80\x80\x80  
 Error -10 (bad UTF-8 string) offset=0 reason=21  
     \xff\x80\x80\x80\x80\x80  
 Error -10 (bad UTF-8 string) offset=0 reason=21  
     \xc3\x8f  
 No match  
     \xe0\xaf\x80  
 No match  
     \xe1\x80\x80  
 No match  
     \xf0\x9f\x80\x80  
 No match  
     \xf1\x8f\x80\x80  
 No match  
     \xf8\x88\x80\x80\x80  
 Error -10 (bad UTF-8 string) offset=0 reason=11  
     \xf9\x87\x80\x80\x80  
 Error -10 (bad UTF-8 string) offset=0 reason=11  
     \xfc\x84\x80\x80\x80\x80  
 Error -10 (bad UTF-8 string) offset=0 reason=12  
     \xfd\x83\x80\x80\x80\x80  
 Error -10 (bad UTF-8 string) offset=0 reason=12  
     \?\xf8\x88\x80\x80\x80  
 No match  
     \?\xf9\x87\x80\x80\x80  
 No match  
     \?\xfc\x84\x80\x80\x80\x80  
 No match  
     \?\xfd\x83\x80\x80\x80\x80  
 No match  
   
 /\x{100}abc(xyz(?1))/8DZ  
 ------------------------------------------------------------------  
         Bra  
         \x{100}abc  
         CBra 1  
         xyz  
         Recurse  
         Ket  
         Ket  
         End  
 ------------------------------------------------------------------  
 Capturing subpattern count = 1  
 Options: utf8  
 First char = 196  
 Need char = 'z'  
   
326  /[^\x{100}]abc(xyz(?1))/8DZ  /[^\x{100}]abc(xyz(?1))/8DZ
327  ------------------------------------------------------------------  ------------------------------------------------------------------
328          Bra          Bra
# Line 927  Need char = 'z' Line 336  Need char = 'z'
336          End          End
337  ------------------------------------------------------------------  ------------------------------------------------------------------
338  Capturing subpattern count = 1  Capturing subpattern count = 1
339  Options: utf8  Options: utf
340  No first char  No first char
341  Need char = 'z'  Need char = 'z'
342    
# Line 944  Need char = 'z' Line 353  Need char = 'z'
353          End          End
354  ------------------------------------------------------------------  ------------------------------------------------------------------
355  Capturing subpattern count = 1  Capturing subpattern count = 1
356  Options: utf8  Options: utf
357  No first char  No first char
358  Need char = 'z'  Need char = 'z'
359    
# Line 964  Need char = 'z' Line 373  Need char = 'z'
373          End          End
374  ------------------------------------------------------------------  ------------------------------------------------------------------
375  Capturing subpattern count = 2  Capturing subpattern count = 2
376  Options: utf8  Options: utf
377  No first char  No first char
378  No need char  No need char
379    
# Line 995  No need char Line 404  No need char
404          End          End
405  ------------------------------------------------------------------  ------------------------------------------------------------------
406  Capturing subpattern count = 2  Capturing subpattern count = 2
407  Options: utf8  Options: utf
408  No first char  No first char
409  No need char  No need char
410    
# Line 1015  No need char Line 424  No need char
424          End          End
425  ------------------------------------------------------------------  ------------------------------------------------------------------
426  Capturing subpattern count = 2  Capturing subpattern count = 2
427  Options: utf8  Options: utf
428  No first char  No first char
429  No need char  No need char
430    
# Line 1046  No need char Line 455  No need char
455          End          End
456  ------------------------------------------------------------------  ------------------------------------------------------------------
457  Capturing subpattern count = 2  Capturing subpattern count = 2
458  Options: utf8  Options: utf
459  No first char  No first char
460  No need char  No need char
461    
# Line 1060  No need char Line 469  No need char
469      \x{100}X      \x{100}X
470   0: X   0: X
471    
 /a\x{1234}b/P8  
     a\x{1234}b  
  0: a\x{1234}b  
   
472  /^\ሴ/8DZ  /^\ሴ/8DZ
473  ------------------------------------------------------------------  ------------------------------------------------------------------
474          Bra          Bra
# Line 1073  No need char Line 478  No need char
478          End          End
479  ------------------------------------------------------------------  ------------------------------------------------------------------
480  Capturing subpattern count = 0  Capturing subpattern count = 0
481  Options: anchored utf8  Options: anchored utf
482  No first char  No first char
483  No need char  No need char
484    
 /\777/I  
 Failed: octal value is greater than \377 (not in UTF-8 mode) at offset 3  
   
 /\777/8I  
 Capturing subpattern count = 0  
 Options: utf8  
 First char = 199  
 Need char = 191  
   \x{1ff}  
  0: \x{1ff}  
   \777  
  0: \x{1ff}  
   
485  /\x{100}*\d/8DZ  /\x{100}*\d/8DZ
486  ------------------------------------------------------------------  ------------------------------------------------------------------
487          Bra          Bra
# Line 1099  Need char = 191 Line 491  Need char = 191
491          End          End
492  ------------------------------------------------------------------  ------------------------------------------------------------------
493  Capturing subpattern count = 0  Capturing subpattern count = 0
494  Options: utf8  Options: utf
495  No first char  No first char
496  No need char  No need char
497    
# Line 1112  No need char Line 504  No need char
504          End          End
505  ------------------------------------------------------------------  ------------------------------------------------------------------
506  Capturing subpattern count = 0  Capturing subpattern count = 0
507  Options: utf8  Options: utf
508  No first char  No first char
509  No need char  No need char
510    
# Line 1125  No need char Line 517  No need char
517          End          End
518  ------------------------------------------------------------------  ------------------------------------------------------------------
519  Capturing subpattern count = 0  Capturing subpattern count = 0
520  Options: utf8  Options: utf
521  No first char  No first char
522  No need char  No need char
523    
# Line 1138  No need char Line 530  No need char
530          End          End
531  ------------------------------------------------------------------  ------------------------------------------------------------------
532  Capturing subpattern count = 0  Capturing subpattern count = 0
533  Options: utf8  Options: utf
534  No first char  No first char
535  No need char  No need char
536    
# Line 1151  No need char Line 543  No need char
543          End          End
544  ------------------------------------------------------------------  ------------------------------------------------------------------
545  Capturing subpattern count = 0  Capturing subpattern count = 0
546  Options: utf8  Options: utf
547  No first char  No first char
548  No need char  No need char
549    
# Line 1164  No need char Line 556  No need char
556          End          End
557  ------------------------------------------------------------------  ------------------------------------------------------------------
558  Capturing subpattern count = 0  Capturing subpattern count = 0
559  Options: utf8  Options: utf
560  No first char  No first char
561  No need char  No need char
562    
 /\x{100}+\x{200}/8DZ  
 ------------------------------------------------------------------  
         Bra  
         \x{100}++  
         \x{200}  
         Ket  
         End  
 ------------------------------------------------------------------  
 Capturing subpattern count = 0  
 Options: utf8  
 First char = 196  
 Need char = 128  
   
 /\x{100}+X/8DZ  
 ------------------------------------------------------------------  
         Bra  
         \x{100}++  
         X  
         Ket  
         End  
 ------------------------------------------------------------------  
 Capturing subpattern count = 0  
 Options: utf8  
 First char = 196  
 Need char = 'X'  
   
 /X+\x{200}/8DZ  
 ------------------------------------------------------------------  
         Bra  
         X++  
         \x{200}  
         Ket  
         End  
 ------------------------------------------------------------------  
 Capturing subpattern count = 0  
 Options: utf8  
 First char = 'X'  
 Need char = 128  
   
563  /()()()()()()()()()()  /()()()()()()()()()()
564   ()()()()()()()()()()   ()()()()()()()()()()
565   ()()()()()()()()()()   ()()()()()()()()()()
# Line 1248  Matched, but too many substrings Line 601  Matched, but too many substrings
601          End          End
602  ------------------------------------------------------------------  ------------------------------------------------------------------
603    
 /^[\QĀ\E-\QŐ\E/BZ8  
 Failed: missing terminating ] for character class at offset 15  
   
604  /^abc./mgx8<any>  /^abc./mgx8<any>
605      abc1 \x0aabc2 \x0babc3xx \x0cabc4 \x0dabc5xx \x0d\x0aabc6 \x{0085}abc7 \x{2028}abc8 \x{2029}abc9 JUNK      abc1 \x0aabc2 \x0babc3xx \x0cabc4 \x0dabc5xx \x0d\x0aabc6 \x{0085}abc7 \x{2028}abc8 \x{2029}abc9 JUNK
606   0: abc1   0: abc1
# Line 1436  No match Line 786  No match
786  /[\H]/8BZ  /[\H]/8BZ
787  ------------------------------------------------------------------  ------------------------------------------------------------------
788          Bra          Bra
789          [\x00-\x08\x0a-\x1f!-\x9f\xa1-\xff\x{100}-\x{167f}\x{1681}-\x{180d}\x{180f}-\x{1fff}\x{200b}-\x{202e}\x{2030}-\x{205e}\x{2060}-\x{2fff}\x{3001}-\x{7fffffff}]          [\x00-\x08\x0a-\x1f!-\x9f\xa1-\xff\x{100}-\x{167f}\x{1681}-\x{180d}\x{180f}-\x{1fff}\x{200b}-\x{202e}\x{2030}-\x{205e}\x{2060}-\x{2fff}\x{3001}-\x{10ffff}]
790          Ket          Ket
791          End          End
792  ------------------------------------------------------------------  ------------------------------------------------------------------
# Line 1444  No match Line 794  No match
794  /[\V]/8BZ  /[\V]/8BZ
795  ------------------------------------------------------------------  ------------------------------------------------------------------
796          Bra          Bra
797          [\x00-\x09\x0e-\x84\x86-\xff\x{100}-\x{2027}\x{2029}-\x{7fffffff}]          [\x00-\x09\x0e-\x84\x86-\xff\x{100}-\x{2027}\x{202a}-\x{10ffff}]
798          Ket          Ket
799          End          End
800  ------------------------------------------------------------------  ------------------------------------------------------------------
# Line 1453  No match Line 803  No match
803      \x{1ec5}      \x{1ec5}
804   0: \x{1ec5}   0: \x{1ec5}
805    
 /-- This tests the stricter UTF-8 check according to RFC 3629. --/  
   
 /X/8  
     \x{0}\x{d7ff}\x{e000}\x{10ffff}  
 No match  
     \x{d800}  
 Error -10 (bad UTF-8 string) offset=0 reason=14  
     \x{d800}\?  
 No match  
     \x{da00}  
 Error -10 (bad UTF-8 string) offset=0 reason=14  
     \x{da00}\?  
 No match  
     \x{dfff}  
 Error -10 (bad UTF-8 string) offset=0 reason=14  
     \x{dfff}\?  
 No match  
     \x{110000}  
 Error -10 (bad UTF-8 string) offset=0 reason=13  
     \x{110000}\?  
 No match  
     \x{2000000}  
 Error -10 (bad UTF-8 string) offset=0 reason=11  
     \x{2000000}\?  
 No match  
     \x{7fffffff}  
 Error -10 (bad UTF-8 string) offset=0 reason=12  
     \x{7fffffff}\?  
 No match  
   
806  /a\Rb/I8<bsr_anycrlf>  /a\Rb/I8<bsr_anycrlf>
807  Capturing subpattern count = 0  Capturing subpattern count = 0
808  Options: bsr_anycrlf utf8  Options: bsr_anycrlf utf
809  First char = 'a'  First char = 'a'
810  Need char = 'b'  Need char = 'b'
811      a\rb      a\rb
# Line 1503  No match Line 823  No match
823    
824  /a\Rb/I8<bsr_unicode>  /a\Rb/I8<bsr_unicode>
825  Capturing subpattern count = 0  Capturing subpattern count = 0
826  Options: bsr_unicode utf8  Options: bsr_unicode utf
827  First char = 'a'  First char = 'a'
828  Need char = 'b'  Need char = 'b'
829      a\rb      a\rb
# Line 1525  No match Line 845  No match
845    
846  /a\R?b/I8<bsr_anycrlf>  /a\R?b/I8<bsr_anycrlf>
847  Capturing subpattern count = 0  Capturing subpattern count = 0
848  Options: bsr_anycrlf utf8  Options: bsr_anycrlf utf
849  First char = 'a'  First char = 'a'
850  Need char = 'b'  Need char = 'b'
851      a\rb      a\rb
# Line 1543  No match Line 863  No match
863    
864  /a\R?b/I8<bsr_unicode>  /a\R?b/I8<bsr_unicode>
865  Capturing subpattern count = 0  Capturing subpattern count = 0
866  Options: bsr_unicode utf8  Options: bsr_unicode utf
867  First char = 'a'  First char = 'a'
868  Need char = 'b'  Need char = 'b'
869      a\rb      a\rb
# Line 1600  No match Line 920  No match
920      \x{de}\x{de}      \x{de}\x{de}
921   0: \xde\xde   0: \xde\xde
922   1: \xde   1: \xde
     \x{123}  
 ** Character \x{123} is greater than 255 and UTF-8 mode is not enabled.  
 ** Truncation will probably give the wrong result.  
 No match  
923    
924  /X/8f<any>  /X/8f<any>
925      A\x{1ec5}ABCXYZ      A\x{1ec5}ABCXYZ
926   0: X   0: X
927    
 /(*UTF8)\x{1234}/  
   abcd\x{1234}pqr  
  0: \x{1234}  
   
 /(*CRLF)(*UTF8)(*BSR_UNICODE)a\Rb/I  
 Capturing subpattern count = 0  
 Options: bsr_unicode utf8  
 Forced newline sequence: CRLF  
 First char = 'a'  
 Need char = 'b'  
   
928  /Xa{2,4}b/8  /Xa{2,4}b/8
929      X\P      X\P
930  Partial match: X  Partial match: X
# Line 2097  Partial match: abcde Line 1402  Partial match: abcde
1402      \PX      \PX
1403  Partial match: X  Partial match: X
1404    
 /\h/SI  
 Capturing subpattern count = 0  
 No options  
 No first char  
 No need char  
 Subject length lower bound = 1  
 Starting byte set: \x09 \x20 \xa0  
   
 /\h/SI8  
 Capturing subpattern count = 0  
 Options: utf8  
 No first char  
 No need char  
 Subject length lower bound = 1  
 Starting byte set: \x09 \x20 \xc2 \xe1 \xe2 \xe3  
     ABC\x{09}  
  0: \x{09}  
     ABC\x{20}  
  0:  
     ABC\x{a0}  
  0: \x{a0}  
     ABC\x{1680}  
  0: \x{1680}  
     ABC\x{180e}  
  0: \x{180e}  
     ABC\x{2000}  
  0: \x{2000}  
     ABC\x{202f}  
  0: \x{202f}  
     ABC\x{205f}  
  0: \x{205f}  
     ABC\x{3000}  
  0: \x{3000}  
   
 /\v/SI  
 Capturing subpattern count = 0  
 No options  
 No first char  
 No need char  
 Subject length lower bound = 1  
 Starting byte set: \x0a \x0b \x0c \x0d \x85  
   
 /\v/SI8  
 Capturing subpattern count = 0  
 Options: utf8  
 No first char  
 No need char  
 Subject length lower bound = 1  
 Starting byte set: \x0a \x0b \x0c \x0d \xc2 \xe2  
     ABC\x{0a}  
  0: \x{0a}  
     ABC\x{0b}  
  0: \x{0b}  
     ABC\x{0c}  
  0: \x{0c}  
     ABC\x{0d}  
  0: \x{0d}  
     ABC\x{85}  
  0: \x{85}  
     ABC\x{2028}  
  0: \x{2028}  
   
 /\R/SI  
 Capturing subpattern count = 0  
 No options  
 No first char  
 No need char  
 Subject length lower bound = 1  
 Starting byte set: \x0a \x0b \x0c \x0d \x85  
   
 /\R/SI8  
 Capturing subpattern count = 0  
 Options: utf8  
 No first char  
 No need char  
 Subject length lower bound = 1  
 Starting byte set: \x0a \x0b \x0c \x0d \xc2 \xe2  
   
 /\h*A/SI8  
 Capturing subpattern count = 0  
 Options: utf8  
 No first char  
 Need char = 'A'  
 Subject length lower bound = 1  
 Starting byte set: \x09 \x20 A \xc2 \xe1 \xe2 \xe3  
     CDBABC  
  0: A  
   
 /\v+A/SI8  
 Capturing subpattern count = 0  
 Options: utf8  
 No first char  
 Need char = 'A'  
 Subject length lower bound = 2  
 Starting byte set: \x0a \x0b \x0c \x0d \xc2 \xe2  
   
 /\s?xxx\s/8SI  
 Capturing subpattern count = 0  
 Options: utf8  
 No first char  
 Need char = 'x'  
 Subject length lower bound = 4  
 Starting byte set: \x09 \x0a \x0c \x0d \x20 x  
   
1405  /\sxxx\s/8T1  /\sxxx\s/8T1
1406      AB\x{85}xxx\x{a0}XYZ      AB\x{85}xxx\x{a0}XYZ
1407   0: \x{85}xxx\x{a0}   0: \x{85}xxx\x{a0}
1408      AB\x{a0}xxx\x{85}XYZ      AB\x{a0}xxx\x{85}XYZ
1409   0: \x{a0}xxx\x{85}   0: \x{a0}xxx\x{85}
1410    
 /\sxxx\s/I8ST1  
 Capturing subpattern count = 0  
 Options: utf8  
 No first char  
 Need char = 'x'  
 Subject length lower bound = 5  
 Starting byte set: \x09 \x0a \x0c \x0d \x20 \xc2  
     AB\x{85}xxx\x{a0}XYZ  
  0: \x{85}xxx\x{a0}  
     AB\x{a0}xxx\x{85}XYZ  
  0: \x{a0}xxx\x{85}  
   
1411  /\S \S/8T1  /\S \S/8T1
1412      \x{a2} \x{84}      \x{a2} \x{84}
1413   0: \x{a2} \x{84}   0: \x{a2} \x{84}
1414    
 /\S \S/I8ST1  
 Capturing subpattern count = 0  
 Options: utf8  
 No first char  
 Need char = ' '  
 Subject length lower bound = 3  
 Starting byte set: \x00 \x01 \x02 \x03 \x04 \x05 \x06 \x07 \x08 \x0b \x0e  
   \x0f \x10 \x11 \x12 \x13 \x14 \x15 \x16 \x17 \x18 \x19 \x1a \x1b \x1c \x1d  
   \x1e \x1f ! " # $ % & ' ( ) * + , - . / 0 1 2 3 4 5 6 7 8 9 : ; < = > ? @  
   A B C D E F G H I J K L M N O P Q R S T U V W X Y Z [ \ ] ^ _ ` a b c d e  
   f g h i j k l m n o p q r s t u v w x y z { | } ~ \x7f \xc0 \xc1 \xc2 \xc3  
   \xc4 \xc5 \xc6 \xc7 \xc8 \xc9 \xca \xcb \xcc \xcd \xce \xcf \xd0 \xd1 \xd2  
   \xd3 \xd4 \xd5 \xd6 \xd7 \xd8 \xd9 \xda \xdb \xdc \xdd \xde \xdf \xe0 \xe1  
   \xe2 \xe3 \xe4 \xe5 \xe6 \xe7 \xe8 \xe9 \xea \xeb \xec \xed \xee \xef \xf0  
   \xf1 \xf2 \xf3 \xf4 \xf5 \xf6 \xf7 \xf8 \xf9 \xfa \xfb \xfc \xfd \xfe \xff  
     \x{a2} \x{84}  
  0: \x{a2} \x{84}  
     A Z  
  0: A Z  
   
1415  'A#хц'8x<any>BZ  'A#хц'8x<any>BZ
1416  ------------------------------------------------------------------  ------------------------------------------------------------------
1417          Bra          Bra
# Line 2304  Starting byte set: \x00 \x01 \x02 \x03 \ Line 1473  Starting byte set: \x00 \x01 \x02 \x03 \
1473          End          End
1474  ------------------------------------------------------------------  ------------------------------------------------------------------
1475    
 /a+/8  
     a\x{123}aa\>1  
  0: aa  
     a\x{123}aa\>2  
 Error -11 (bad UTF-8 offset)  
     a\x{123}aa\>3  
  0: aa  
     a\x{123}aa\>4  
  0: a  
     a\x{123}aa\>5  
 No match  
     a\x{123}aa\>6  
 Error -24 (bad offset value)  
   
1476  /^\cģ/8  /^\cģ/8
1477  Failed: \c must be followed by an ASCII character at offset 3  Failed: \c must be followed by an ASCII character at offset 3
1478    
# Line 2349  Failed: \c must be followed by an ASCII Line 1504  Failed: \c must be followed by an ASCII
1504   1: \x{0a}   1: \x{0a}
1505   2: \x{0d}   2: \x{0d}
1506    
 /(\X*)(.)/s8  
     A\x{300}  
  0: A  
  1:  
  2: A  
   
 /\x{1234}+/iS8I  
 Capturing subpattern count = 0  
 Options: caseless utf8  
 No first char  
 No need char  
 Subject length lower bound = 1  
 Starting byte set: \xe1  
   
 /\x{1234}+?/iS8I  
 Capturing subpattern count = 0  
 Options: caseless utf8  
 No first char  
 No need char  
 Subject length lower bound = 1  
 Starting byte set: \xe1  
   
 /\x{1234}++/iS8I  
 Capturing subpattern count = 0  
 Options: caseless utf8  
 No first char  
 No need char  
 Subject length lower bound = 1  
 Starting byte set: \xe1  
   
 /\x{1234}{2}/iS8I  
 Capturing subpattern count = 0  
 Options: caseless utf8  
 No first char  
 No need char  
 Subject length lower bound = 2  
 Starting byte set: \xe1  
   
1507  /[^\x{1234}]+/iS8I  /[^\x{1234}]+/iS8I
1508  Capturing subpattern count = 0  Capturing subpattern count = 0
1509  Options: caseless utf8  Options: caseless utf
1510  No first char  No first char
1511  No need char  No need char
1512  Subject length lower bound = 1  Subject length lower bound = 1
# Line 2397  No set of starting bytes Line 1514  No set of starting bytes
1514    
1515  /[^\x{1234}]+?/iS8I  /[^\x{1234}]+?/iS8I
1516  Capturing subpattern count = 0  Capturing subpattern count = 0
1517  Options: caseless utf8  Options: caseless utf
1518  No first char  No first char
1519  No need char  No need char
1520  Subject length lower bound = 1  Subject length lower bound = 1
# Line 2405  No set of starting bytes Line 1522  No set of starting bytes
1522    
1523  /[^\x{1234}]++/iS8I  /[^\x{1234}]++/iS8I
1524  Capturing subpattern count = 0  Capturing subpattern count = 0
1525  Options: caseless utf8  Options: caseless utf
1526  No first char  No first char
1527  No need char  No need char
1528  Subject length lower bound = 1  Subject length lower bound = 1
# Line 2413  No set of starting bytes Line 1530  No set of starting bytes
1530    
1531  /[^\x{1234}]{2}/iS8I  /[^\x{1234}]{2}/iS8I
1532  Capturing subpattern count = 0  Capturing subpattern count = 0
1533  Options: caseless utf8  Options: caseless utf
1534  No first char  No first char
1535  No need char  No need char
1536  Subject length lower bound = 2  Subject length lower bound = 2
1537  No set of starting bytes  No set of starting bytes
1538    
 /^S(\X*)e(\X*)$/8  
     Stéréo  
 No match  
   
 /^\X/8  
     ́réo  
 No match  
   
1539  //<bsr_anycrlf><bsr_unicode>  //<bsr_anycrlf><bsr_unicode>
1540  Failed: inconsistent NEWLINE options at offset 0  Failed: inconsistent NEWLINE options at offset 0
1541    
# Line 2445  Partial match: for Line 1554  Partial match: for
1554  /f.*/8s  /f.*/8s
1555      \P\Pfor      \P\Pfor
1556  Partial match: for  Partial match: for
1557    
1558    /\x{d7ff}\x{e000}/8
1559    
1560    /\x{d800}/8
1561    Failed: disallowed Unicode code point (>= 0xd800 && <= 0xdfff) at offset 7
1562    
1563    /\x{dfff}/8
1564    Failed: disallowed Unicode code point (>= 0xd800 && <= 0xdfff) at offset 7
1565    
1566    /\h+/8
1567        \x{1681}\x{200b}\x{1680}\x{2000}\x{202f}\x{3000}
1568     0: \x{1680}\x{2000}\x{202f}\x{3000}
1569        \x{3001}\x{2fff}\x{200a}\x{a0}\x{2000}
1570     0: \x{200a}\x{a0}\x{2000}
1571    
1572    /[\h\x{e000}]+/8BZ
1573    ------------------------------------------------------------------
1574            Bra
1575            [\x09 \xa0\x{1680}\x{180e}\x{2000}-\x{200a}\x{202f}\x{205f}\x{3000}\x{e000}]+
1576            Ket
1577            End
1578    ------------------------------------------------------------------
1579        \x{1681}\x{200b}\x{1680}\x{2000}\x{202f}\x{3000}
1580     0: \x{1680}\x{2000}\x{202f}\x{3000}
1581        \x{3001}\x{2fff}\x{200a}\x{a0}\x{2000}
1582     0: \x{200a}\x{a0}\x{2000}
1583    
1584    /\H+/8
1585        \x{1680}\x{180e}\x{167f}\x{1681}\x{180d}\x{180f}
1586     0: \x{167f}\x{1681}\x{180d}\x{180f}
1587        \x{2000}\x{200a}\x{1fff}\x{200b}
1588     0: \x{1fff}\x{200b}
1589        \x{202f}\x{205f}\x{202e}\x{2030}\x{205e}\x{2060}
1590     0: \x{202e}\x{2030}\x{205e}\x{2060}
1591        \x{a0}\x{3000}\x{9f}\x{a1}\x{2fff}\x{3001}
1592     0: \x{9f}\x{a1}\x{2fff}\x{3001}
1593    
1594    /[\H\x{d7ff}]+/8BZ
1595    ------------------------------------------------------------------
1596            Bra
1597            [\x00-\x08\x0a-\x1f!-\x9f\xa1-\xff\x{100}-\x{167f}\x{1681}-\x{180d}\x{180f}-\x{1fff}\x{200b}-\x{202e}\x{2030}-\x{205e}\x{2060}-\x{2fff}\x{3001}-\x{10ffff}\x{d7ff}]+
1598            Ket
1599            End
1600    ------------------------------------------------------------------
1601        \x{1680}\x{180e}\x{167f}\x{1681}\x{180d}\x{180f}
1602     0: \x{167f}\x{1681}\x{180d}\x{180f}
1603        \x{2000}\x{200a}\x{1fff}\x{200b}
1604     0: \x{1fff}\x{200b}
1605        \x{202f}\x{205f}\x{202e}\x{2030}\x{205e}\x{2060}
1606     0: \x{202e}\x{2030}\x{205e}\x{2060}
1607        \x{a0}\x{3000}\x{9f}\x{a1}\x{2fff}\x{3001}
1608     0: \x{9f}\x{a1}\x{2fff}\x{3001}
1609    
1610    /\v+/8
1611        \x{2027}\x{2030}\x{2028}\x{2029}
1612     0: \x{2028}\x{2029}
1613        \x09\x0e\x{84}\x{86}\x{85}\x0a\x0b\x0c\x0d
1614     0: \x{85}\x{0a}\x{0b}\x{0c}\x{0d}
1615    
1616    /[\v\x{e000}]+/8BZ
1617    ------------------------------------------------------------------
1618            Bra
1619            [\x0a-\x0d\x85\x{2028}-\x{2029}\x{e000}]+
1620            Ket
1621            End
1622    ------------------------------------------------------------------
1623        \x{2027}\x{2030}\x{2028}\x{2029}
1624     0: \x{2028}\x{2029}
1625        \x09\x0e\x{84}\x{86}\x{85}\x0a\x0b\x0c\x0d
1626     0: \x{85}\x{0a}\x{0b}\x{0c}\x{0d}
1627    
1628    /\V+/8
1629        \x{2028}\x{2029}\x{2027}\x{2030}
1630     0: \x{2027}\x{2030}
1631        \x{85}\x0a\x0b\x0c\x0d\x09\x0e\x{84}\x{86}
1632     0: \x{09}\x{0e}\x{84}\x{86}
1633    
1634    /[\V\x{d7ff}]+/8BZ
1635    ------------------------------------------------------------------
1636            Bra
1637            [\x00-\x09\x0e-\x84\x86-\xff\x{100}-\x{2027}\x{202a}-\x{10ffff}\x{d7ff}]+
1638            Ket
1639            End
1640    ------------------------------------------------------------------
1641        \x{2028}\x{2029}\x{2027}\x{2030}
1642     0: \x{2027}\x{2030}
1643        \x{85}\x0a\x0b\x0c\x0d\x09\x0e\x{84}\x{86}
1644     0: \x{09}\x{0e}\x{84}\x{86}
1645    
1646    /\R+/8<bsr_unicode>
1647        \x{2027}\x{2030}\x{2028}\x{2029}
1648     0: \x{2028}\x{2029}
1649        \x09\x0e\x{84}\x{86}\x{85}\x0a\x0b\x0c\x0d
1650     0: \x{85}\x{0a}\x{0b}\x{0c}\x{0d}
1651    
1652  /-- End of testinput5 --/  /-- End of testinput5 --/

Legend:
Removed from v.651  
changed lines
  Added in v.849

  ViewVC Help
Powered by ViewVC 1.1.5