/[pcre]/code/branches/pcre16/testdata/testinput18
ViewVC logotype

Diff of /code/branches/pcre16/testdata/testinput18

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

revision 822 by ph10, Wed Dec 21 12:05:24 2011 UTC revision 823 by ph10, Sat Dec 24 17:43:22 2011 UTC
# Line 11  Line 11 
11    
12  /X(\C{4})/8  /X(\C{4})/8
13      X\x{11234}YZ      X\x{11234}YZ
14    
15  /X\C*/8  /X\C*/8
16      XYZabcdce      XYZabcdce
17    
18  /X\C*?/8  /X\C*?/8
19      XYZabcde      XYZabcde
20    
21  /X\C{3,5}/8  /X\C{3,5}/8
22      Xabcdefg      Xabcdefg
23      X\x{11234}Y      X\x{11234}Y
24      X\x{11234}YZ      X\x{11234}YZ
25      X\x{11234}\x{512}      X\x{11234}\x{512}
26      X\x{11234}\x{512}YZ      X\x{11234}\x{512}YZ
27      X\x{11234}\x{512}\x{11234}Z      X\x{11234}\x{512}\x{11234}Z
28    
29  /X\C{3,5}?/8  /X\C{3,5}?/8
30      Xabcdefg      Xabcdefg
31      X\x{11234}Y      X\x{11234}Y
32      X\x{11234}YZ      X\x{11234}YZ
33      X\x{11234}\x{512}YZ      X\x{11234}\x{512}YZ
34      *** Failers      *** Failers
35      X\x{11234}      X\x{11234}
36    
37  /a\Cb/8  /a\Cb/8
38      aXb      aXb
39      a\nb      a\nb
40    
41  /a\C\Cb/8  /a\C\Cb/8
42      a\x{12257}b      a\x{12257}b
43      ** Failers      ** Failers
44      a\x{100}b      a\x{100}b
45    
46  /ab\Cde/8  /ab\Cde/8
47      abXde      abXde
48    
49  /-- Check maximum character size --/  /-- Check maximum character size --/
50    
51  /\x{ffff}/8DZ  /\x{ffff}/8DZ
52    
53  /\x{10000}/8DZ  /\x{10000}/8DZ
54    
55  /\x{100}/8DZ  /\x{100}/8DZ
56    
# Line 70  Line 70 
70    
71  /\xff/8DZ  /\xff/8DZ
72    
73  /\x{D55c}\x{ad6d}\x{C5B4}/DZ8  /\x{D55c}\x{ad6d}\x{C5B4}/DZ8
74      \x{D55c}\x{ad6d}\x{C5B4}      \x{D55c}\x{ad6d}\x{C5B4}
75    
76  /\x{65e5}\x{672c}\x{8a9e}/DZ8  /\x{65e5}\x{672c}\x{8a9e}/DZ8
77      \x{65e5}\x{672c}\x{8a9e}      \x{65e5}\x{672c}\x{8a9e}
# Line 89  Line 89 
89  /-- This one is here not because it's different to Perl, but because the way  /-- This one is here not because it's different to Perl, but because the way
90  the captured single-byte is displayed. (In Perl it becomes a character, and you  the captured single-byte is displayed. (In Perl it becomes a character, and you
91  can't tell the difference.) --/  can't tell the difference.) --/
92    
93  /X(\C)(.*)/8  /X(\C)(.*)/8
94      X\x{1234}      X\x{1234}
95      X\nabc      X\nabc
96    
97  /-- This one is here because Perl gives out a grumbly error message (quite  /-- This one is here because Perl gives out a grumbly error message (quite
98  correctly, but that messes up comparisons). --/  correctly, but that messes up comparisons). --/
99    
100  /a\Cb/8  /a\Cb/8
101      *** Failers      *** Failers
102      a\x{100}b      a\x{100}b
103    
104  /[^ab\xC0-\xF0]/8SDZ  /[^ab\xC0-\xF0]/8SDZ
105      \x{f1}      \x{f1}
106      \x{bf}      \x{bf}
107      \x{100}      \x{100}
108      \x{1000}      \x{1000}
109      *** Failers      *** Failers
110      \x{c0}      \x{c0}
111      \x{f0}      \x{f0}
112    
113  /Ā{3,4}/8SDZ  /Ā{3,4}/8SDZ
114    \x{100}\x{100}\x{100}\x{100\x{100}    \x{100}\x{100}\x{100}\x{100\x{100}
# Line 133  correctly, but that messes up comparison Line 133  correctly, but that messes up comparison
133      \x{100}      \x{100}
134      Z\x{100}      Z\x{100}
135      \x{100}Z      \x{100}Z
136      *** Failers      *** Failers
137    
138  /[\xff]/DZ8  /[\xff]/DZ8
139      >\x{ff}<      >\x{ff}<
# Line 144  correctly, but that messes up comparison Line 144  correctly, but that messes up comparison
144    
145  /\777/8I  /\777/8I
146    \x{1ff}    \x{1ff}
147    \777    \777
148    
149  /\x{100}+\x{200}/8DZ  /\x{100}+\x{200}/8DZ
150    
151  /\x{100}+X/8DZ  /\x{100}+X/8DZ
# Line 160  correctly, but that messes up comparison Line 160  correctly, but that messes up comparison
160      \x{da00}\?      \x{da00}\?
161      \x{dfff}      \x{dfff}
162      \x{dfff}\?      \x{dfff}\?
163      \x{110000}      \x{110000}
164      \x{110000}\?      \x{d800}\x{1234}
165      \x{2000000}      \x{fffe}
     \x{2000000}\?  
     \x{7fffffff}  
     \x{7fffffff}\?  
166    
167  /(*UTF16)\x{11234}/  /(*UTF16)\x{11234}/
168    abcd\x{11234}pqr    abcd\x{11234}pqr
# Line 179  correctly, but that messes up comparison Line 176  correctly, but that messes up comparison
176      ABC\x{1680}      ABC\x{1680}
177      ABC\x{180e}      ABC\x{180e}
178      ABC\x{2000}      ABC\x{2000}
179      ABC\x{202f}      ABC\x{202f}
180      ABC\x{205f}      ABC\x{205f}
181      ABC\x{3000}      ABC\x{3000}
182    
183  /\v/SI8  /\v/SI8
184      ABC\x{0a}      ABC\x{0a}
# Line 193  correctly, but that messes up comparison Line 190  correctly, but that messes up comparison
190    
191  /\h*A/SI8  /\h*A/SI8
192      CDBABC      CDBABC
193    
194  /\v+A/SI8  /\v+A/SI8
195    
196  /\s?xxx\s/8SI  /\s?xxx\s/8SI
# Line 203  correctly, but that messes up comparison Line 200  correctly, but that messes up comparison
200      AB\x{a0}xxx\x{85}XYZ      AB\x{a0}xxx\x{85}XYZ
201    
202  /\S \S/I8ST1  /\S \S/I8ST1
203      \x{a2} \x{84}      \x{a2} \x{84}
204      A Z      A Z
205    
206  /a+/8  /a+/8
207      a\x{123}aa\>1      a\x{123}aa\>1
# Line 228  correctly, but that messes up comparison Line 225  correctly, but that messes up comparison
225    
226  /\R/SI8  /\R/SI8
227    
228    /-- Check bad offset --/
229    
230    /a/8
231        \x{10000}\>1
232        \x{10000}ab\>2
233        \x{10000}ab\>3
234        \x{10000}ab\>4
235        \x{10000}ab\>5
236    
237  /-- End of testinput18 --/  /-- End of testinput18 --/

Legend:
Removed from v.822  
changed lines
  Added in v.823

  ViewVC Help
Powered by ViewVC 1.1.5