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

Contents of /code/trunk/testdata/testinput12

Parent Directory Parent Directory | Revision Log Revision Log


Revision 448 - (hide annotations) (download)
Tue Sep 15 19:11:48 2009 UTC (3 years, 8 months ago) by ph10
File size: 2521 byte(s)
Re-organize tests to make is possible to test 5.10 features against Perl.

1 ph10 448 /[\p{L}]/DZ
2    
3     /[\p{^L}]/DZ
4    
5     /[\P{L}]/DZ
6    
7     /[\P{^L}]/DZ
8    
9     /[abc\p{L}\x{0660}]/8DZ
10    
11     /[\p{Nd}]/8DZ
12     1234
13    
14     /[\p{Nd}+-]+/8DZ
15     1234
16     12-34
17     12+\x{661}-34
18     ** Failers
19     abcd
20    
21     /A\x{391}\x{10427}\x{ff3a}\x{1fb0}/8iDZ
22    
23     /A\x{391}\x{10427}\x{ff3a}\x{1fb0}/8DZ
24    
25     /AB\x{1fb0}/8DZ
26    
27     /AB\x{1fb0}/8DZi
28    
29     /[\x{105}-\x{109}]/8iDZ
30     \x{104}
31     \x{105}
32     \x{109}
33     ** Failers
34     \x{100}
35     \x{10a}
36    
37     /[z-\x{100}]/8iDZ
38     Z
39     z
40     \x{39c}
41     \x{178}
42     |
43     \x{80}
44     \x{ff}
45     \x{100}
46     \x{101}
47     ** Failers
48     \x{102}
49     Y
50     y
51    
52     /[z-\x{100}]/8DZi
53    
54     /(?:[\PPa*]*){8,}/
55    
56     /[\P{Any}]/BZ
57    
58     /[\P{Any}\E]/BZ
59    
60     /(\P{Yi}+\277)/
61    
62     /(\P{Yi}+\277)?/
63    
64     /(?<=\P{Yi}{3}A)X/
65    
66     /\p{Yi}+(\P{Yi}+)(?1)/
67    
68     /(\P{Yi}{2}\277)?/
69    
70     /[\P{Yi}A]/
71    
72     /[\P{Yi}\P{Yi}\P{Yi}A]/
73    
74     /[^\P{Yi}A]/
75    
76     /[^\P{Yi}\P{Yi}\P{Yi}A]/
77    
78     /(\P{Yi}*\277)*/
79    
80     /(\P{Yi}*?\277)*/
81    
82     /(\p{Yi}*+\277)*/
83    
84     /(\P{Yi}?\277)*/
85    
86     /(\P{Yi}??\277)*/
87    
88     /(\p{Yi}?+\277)*/
89    
90     /(\P{Yi}{0,3}\277)*/
91    
92     /(\P{Yi}{0,3}?\277)*/
93    
94     /(\p{Yi}{0,3}+\277)*/
95    
96     /\p{Zl}{2,3}+/8BZ
97     \xe2\x80\xa8\xe2\x80\xa8
98     \x{2028}\x{2028}\x{2028}
99    
100     /\p{Zl}/8BZ
101    
102     /\p{Lu}{3}+/8BZ
103    
104     /\pL{2}+/8BZ
105    
106     /\p{Cc}{2}+/8BZ
107    
108     /^\p{Cs}/8
109     \?\x{dfff}
110     ** Failers
111     \x{09f}
112    
113     /^\p{Sc}+/8
114     $\x{a2}\x{a3}\x{a4}\x{a5}\x{a6}
115     \x{9f2}
116     ** Failers
117     X
118     \x{2c2}
119    
120     /^\p{Zs}/8
121     \ \
122     \x{a0}
123     \x{1680}
124     \x{180e}
125     \x{2000}
126     \x{2001}
127     ** Failers
128     \x{2028}
129     \x{200d}
130    
131     /\p{^Lu}/8i
132     1234
133     ** Failers
134     ABC
135    
136     /\P{Lu}/8i
137     1234
138     ** Failers
139     ABC
140    
141     /\p{Ll}/8i
142     a
143     Az
144     ** Failers
145     ABC
146    
147     /\p{Lu}/8i
148     A
149     a\x{10a0}B
150     ** Failers
151     a
152     \x{1d00}
153    
154     /[\x{c0}\x{391}]/8i
155     \x{c0}
156     \x{e0}
157    
158     /The next two are special cases where the lengths of the different cases of the
159     same character differ. The first went wrong with heap frame storage; the 2nd
160     was broken in all cases./
161    
162     /^\x{023a}+?(\x{0130}+)/8i
163     \x{023a}\x{2c65}\x{0130}
164    
165     /^\x{023a}+([^X])/8i
166     \x{023a}\x{2c65}X
167    
168     /\x{c0}+\x{116}+/8i
169     \x{c0}\x{e0}\x{116}\x{117}
170    
171     /[\x{c0}\x{116}]+/8i
172     \x{c0}\x{e0}\x{116}\x{117}
173    
174     /(\x{de})\1/8i
175     \x{de}\x{de}
176     \x{de}\x{fe}
177     \x{fe}\x{fe}
178     \x{fe}\x{de}
179    
180     /^\x{c0}$/8i
181     \x{c0}
182     \x{e0}
183    
184     /^\x{e0}$/8i
185     \x{c0}
186     \x{e0}
187    
188     /The next two should be Perl-compatible, but it fails to match \x{e0}. PCRE
189     will match it only with UCP support, because without that it has no notion
190     of case for anything other than the ASCII letters. /
191    
192     /((?i)[\x{c0}])/8
193     \x{c0}
194     \x{e0}
195    
196     /(?i:[\x{c0}])/8
197     \x{c0}
198     \x{e0}
199    

webmaster@exim.org
ViewVC Help
Powered by ViewVC 1.1.12