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

Contents of /code/trunk/testdata/testinput7

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1260 - (hide annotations) (download)
Wed Feb 27 15:41:22 2013 UTC (2 months, 2 weeks ago) by ph10
File size: 10407 byte(s)
Add \p{Xuc} to match characters identifiable by Universal Character Names.

1 ph10 836 /-- These tests for Unicode property support test PCRE's API and show some of
2     the compiled code. They are not Perl-compatible. --/
3 nigel 77
4 ph10 836 /[\p{L}]/DZ
5 nigel 77
6 ph10 836 /[\p{^L}]/DZ
7 nigel 77
8 ph10 836 /[\P{L}]/DZ
9 nigel 77
10 ph10 836 /[\P{^L}]/DZ
11 nigel 77
12 ph10 836 /[abc\p{L}\x{0660}]/8DZ
13 nigel 77
14 ph10 836 /[\p{Nd}]/8DZ
15 nigel 77 1234
16    
17 ph10 836 /[\p{Nd}+-]+/8DZ
18 nigel 77 1234
19     12-34
20 ph10 836 12+\x{661}-34
21     ** Failers
22     abcd
23 nigel 77
24 ph10 836 /[\x{105}-\x{109}]/8iDZ
25     \x{104}
26     \x{105}
27     \x{109}
28     ** Failers
29     \x{100}
30     \x{10a}
31 nigel 77
32 ph10 836 /[z-\x{100}]/8iDZ
33     Z
34     z
35     \x{39c}
36     \x{178}
37     |
38     \x{80}
39     \x{ff}
40     \x{100}
41     \x{101}
42     ** Failers
43     \x{102}
44     Y
45     y
46 nigel 77
47 ph10 836 /[z-\x{100}]/8DZi
48 nigel 77
49 ph10 836 /(?:[\PPa*]*){8,}/
50 nigel 77
51 ph10 836 /[\P{Any}]/BZ
52 nigel 77
53 ph10 836 /[\P{Any}\E]/BZ
54 nigel 77
55 ph10 836 /(\P{Yi}+\277)/
56 nigel 77
57 ph10 836 /(\P{Yi}+\277)?/
58 nigel 77
59 ph10 836 /(?<=\P{Yi}{3}A)X/
60 nigel 77
61 ph10 836 /\p{Yi}+(\P{Yi}+)(?1)/
62 nigel 77
63 ph10 836 /(\P{Yi}{2}\277)?/
64 nigel 77
65 ph10 836 /[\P{Yi}A]/
66 nigel 77
67 ph10 836 /[\P{Yi}\P{Yi}\P{Yi}A]/
68 nigel 77
69 ph10 836 /[^\P{Yi}A]/
70 nigel 77
71 ph10 836 /[^\P{Yi}\P{Yi}\P{Yi}A]/
72 nigel 77
73 ph10 836 /(\P{Yi}*\277)*/
74 nigel 77
75 ph10 836 /(\P{Yi}*?\277)*/
76 nigel 77
77 ph10 836 /(\p{Yi}*+\277)*/
78 nigel 77
79 ph10 836 /(\P{Yi}?\277)*/
80 nigel 77
81 ph10 836 /(\P{Yi}??\277)*/
82 nigel 77
83 ph10 836 /(\p{Yi}?+\277)*/
84 nigel 77
85 ph10 836 /(\P{Yi}{0,3}\277)*/
86 nigel 77
87 ph10 836 /(\P{Yi}{0,3}?\277)*/
88 nigel 77
89 ph10 836 /(\p{Yi}{0,3}+\277)*/
90 nigel 77
91 ph10 836 /\p{Zl}{2,3}+/8BZ
92 chpe 1090 


93 ph10 836 \x{2028}\x{2028}\x{2028}
94 nigel 77
95 ph10 836 /\p{Zl}/8BZ
96 nigel 77
97 ph10 836 /\p{Lu}{3}+/8BZ
98 nigel 77
99 ph10 836 /\pL{2}+/8BZ
100 nigel 77
101 ph10 836 /\p{Cc}{2}+/8BZ
102 nigel 77
103 ph10 836 /^\p{Cs}/8
104     \?\x{dfff}
105     ** Failers
106     \x{09f}
107 nigel 77
108 ph10 836 /^\p{Sc}+/8
109     $\x{a2}\x{a3}\x{a4}\x{a5}\x{a6}
110     \x{9f2}
111     ** Failers
112     X
113     \x{2c2}
114 nigel 77
115 ph10 836 /^\p{Zs}/8
116     \ \
117     \x{a0}
118     \x{1680}
119     \x{180e}
120     \x{2000}
121     \x{2001}
122     ** Failers
123     \x{2028}
124     \x{200d}
125 nigel 77
126 ph10 836 /-- These four are here rather than in test 6 because Perl has problems with
127     the negative versions of the properties. --/
128 nigel 77
129 ph10 836 /\p{^Lu}/8i
130     1234
131     ** Failers
132     ABC
133 nigel 77
134 ph10 836 /\P{Lu}/8i
135     1234
136     ** Failers
137     ABC
138 nigel 77
139 ph10 836 /\p{Ll}/8i
140 nigel 77 a
141 ph10 836 Az
142     ** Failers
143     ABC
144 nigel 77
145 ph10 836 /\p{Lu}/8i
146     A
147     a\x{10a0}B
148     ** Failers
149 nigel 77 a
150 ph10 836 \x{1d00}
151 nigel 77
152 ph10 836 /[\x{c0}\x{391}]/8i
153     \x{c0}
154     \x{e0}
155 nigel 77
156 ph10 836 /-- The next two are special cases where the lengths of the different cases of
157     the same character differ. The first went wrong with heap frame storage; the
158     second was broken in all cases. --/
159 nigel 77
160 ph10 836 /^\x{023a}+?(\x{0130}+)/8i
161     \x{023a}\x{2c65}\x{0130}
162    
163     /^\x{023a}+([^X])/8i
164     \x{023a}\x{2c65}X
165 nigel 77
166 ph10 836 /\x{c0}+\x{116}+/8i
167     \x{c0}\x{e0}\x{116}\x{117}
168 nigel 77
169 ph10 836 /[\x{c0}\x{116}]+/8i
170     \x{c0}\x{e0}\x{116}\x{117}
171 nigel 77
172 ph10 836 /(\x{de})\1/8i
173     \x{de}\x{de}
174     \x{de}\x{fe}
175     \x{fe}\x{fe}
176     \x{fe}\x{de}
177 nigel 77
178 ph10 836 /^\x{c0}$/8i
179     \x{c0}
180     \x{e0}
181 nigel 77
182 ph10 836 /^\x{e0}$/8i
183     \x{c0}
184     \x{e0}
185 nigel 77
186 ph10 836 /-- The next two should be Perl-compatible, but it fails to match \x{e0}. PCRE
187     will match it only with UCP support, because without that it has no notion
188     of case for anything other than the ASCII letters. --/
189 nigel 77
190 ph10 836 /((?i)[\x{c0}])/8
191     \x{c0}
192     \x{e0}
193 nigel 77
194 ph10 836 /(?i:[\x{c0}])/8
195     \x{c0}
196     \x{e0}
197 nigel 77
198 ph10 836 /-- These are PCRE's extra properties to help with Unicodizing \d etc. --/
199 nigel 77
200 ph10 836 /^\p{Xan}/8
201 nigel 77 ABCD
202 ph10 836 1234
203     \x{6ca}
204     \x{a6c}
205     \x{10a7}
206     ** Failers
207     _ABC
208 nigel 77
209 ph10 836 /^\p{Xan}+/8
210     ABCD1234\x{6ca}\x{a6c}\x{10a7}_
211     ** Failers
212     _ABC
213 nigel 77
214 ph10 836 /^\p{Xan}+?/8
215     \x{6ca}\x{a6c}\x{10a7}_
216 nigel 77
217 ph10 836 /^\p{Xan}*/8
218     ABCD1234\x{6ca}\x{a6c}\x{10a7}_
219 nigel 77
220 ph10 836 /^\p{Xan}{2,9}/8
221     ABCD1234\x{6ca}\x{a6c}\x{10a7}_
222 nigel 77
223 ph10 836 /^\p{Xan}{2,9}?/8
224     \x{6ca}\x{a6c}\x{10a7}_
225 nigel 77
226 ph10 836 /^[\p{Xan}]/8
227     ABCD1234_
228     1234abcd_
229     \x{6ca}
230     \x{a6c}
231     \x{10a7}
232     ** Failers
233     _ABC
234    
235     /^[\p{Xan}]+/8
236     ABCD1234\x{6ca}\x{a6c}\x{10a7}_
237     ** Failers
238     _ABC
239 nigel 77
240 ph10 836 /^>\p{Xsp}/8
241     >\x{1680}\x{2028}\x{0b}
242     >\x{a0}
243     ** Failers
244     \x{0b}
245 nigel 77
246 ph10 836 /^>\p{Xsp}+/8
247     > \x{09}\x{0a}\x{0c}\x{0d}\x{a0}\x{1680}\x{2028}\x{0b}
248 nigel 77
249 ph10 836 /^>\p{Xsp}+?/8
250     >\x{1680}\x{2028}\x{0b}
251 nigel 77
252 ph10 836 /^>\p{Xsp}*/8
253     > \x{09}\x{0a}\x{0c}\x{0d}\x{a0}\x{1680}\x{2028}\x{0b}
254 nigel 77
255 ph10 836 /^>\p{Xsp}{2,9}/8
256     > \x{09}\x{0a}\x{0c}\x{0d}\x{a0}\x{1680}\x{2028}\x{0b}
257 nigel 77
258 ph10 836 /^>\p{Xsp}{2,9}?/8
259     > \x{09}\x{0a}\x{0c}\x{0d}\x{a0}\x{1680}\x{2028}\x{0b}
260 nigel 77
261 ph10 836 /^>[\p{Xsp}]/8
262     >\x{2028}\x{0b}
263    
264     /^>[\p{Xsp}]+/8
265     > \x{09}\x{0a}\x{0c}\x{0d}\x{a0}\x{1680}\x{2028}\x{0b}
266 nigel 77
267 ph10 836 /^>\p{Xps}/8
268     >\x{1680}\x{2028}\x{0b}
269     >\x{a0}
270     ** Failers
271     \x{0b}
272 nigel 77
273 ph10 836 /^>\p{Xps}+/8
274     > \x{09}\x{0a}\x{0c}\x{0d}\x{a0}\x{1680}\x{2028}\x{0b}
275 nigel 77
276 ph10 836 /^>\p{Xps}+?/8
277     >\x{1680}\x{2028}\x{0b}
278 nigel 77
279 ph10 836 /^>\p{Xps}*/8
280     > \x{09}\x{0a}\x{0c}\x{0d}\x{a0}\x{1680}\x{2028}\x{0b}
281 nigel 77
282 ph10 836 /^>\p{Xps}{2,9}/8
283     > \x{09}\x{0a}\x{0c}\x{0d}\x{a0}\x{1680}\x{2028}\x{0b}
284 nigel 77
285 ph10 836 /^>\p{Xps}{2,9}?/8
286     > \x{09}\x{0a}\x{0c}\x{0d}\x{a0}\x{1680}\x{2028}\x{0b}
287 nigel 77
288 ph10 836 /^>[\p{Xps}]/8
289     >\x{2028}\x{0b}
290    
291     /^>[\p{Xps}]+/8
292     > \x{09}\x{0a}\x{0c}\x{0d}\x{a0}\x{1680}\x{2028}\x{0b}
293 nigel 77
294 ph10 836 /^\p{Xwd}/8
295     ABCD
296     1234
297     \x{6ca}
298     \x{a6c}
299     \x{10a7}
300     _ABC
301     ** Failers
302     []
303 nigel 77
304 ph10 836 /^\p{Xwd}+/8
305     ABCD1234\x{6ca}\x{a6c}\x{10a7}_
306 nigel 77
307 ph10 836 /^\p{Xwd}+?/8
308     \x{6ca}\x{a6c}\x{10a7}_
309 nigel 77
310 ph10 836 /^\p{Xwd}*/8
311     ABCD1234\x{6ca}\x{a6c}\x{10a7}_
312 nigel 77
313 ph10 836 /^\p{Xwd}{2,9}/8
314     A_B12\x{6ca}\x{a6c}\x{10a7}
315 nigel 77
316 ph10 836 /^\p{Xwd}{2,9}?/8
317     \x{6ca}\x{a6c}\x{10a7}_
318 nigel 77
319 ph10 836 /^[\p{Xwd}]/8
320     ABCD1234_
321     1234abcd_
322     \x{6ca}
323     \x{a6c}
324     \x{10a7}
325     _ABC
326     ** Failers
327     []
328    
329     /^[\p{Xwd}]+/8
330     ABCD1234\x{6ca}\x{a6c}\x{10a7}_
331 nigel 77
332 ph10 836 /-- A check not in UTF-8 mode --/
333 nigel 77
334 ph10 836 /^[\p{Xwd}]+/
335     ABCD1234_
336 nigel 91
337 ph10 836 /-- Some negative checks --/
338 nigel 91
339 ph10 836 /^[\P{Xwd}]+/8
340     !.+\x{019}\x{35a}AB
341 nigel 91
342 ph10 836 /^[\p{^Xwd}]+/8
343     !.+\x{019}\x{35a}AB
344 nigel 91
345 ph10 836 /[\D]/WBZ8
346     1\x{3c8}2
347 nigel 91
348 ph10 836 /[\d]/WBZ8
349     >\x{6f4}<
350 nigel 91
351 ph10 836 /[\S]/WBZ8
352     \x{1680}\x{6f4}\x{1680}
353 nigel 91
354 ph10 836 /[\s]/WBZ8
355     >\x{1680}<
356 nigel 91
357 ph10 836 /[\W]/WBZ8
358     A\x{1712}B
359 nigel 91
360 ph10 836 /[\w]/WBZ8
361     >\x{1723}<
362 nigel 91
363 ph10 836 /\D/WBZ8
364     1\x{3c8}2
365 nigel 91
366 ph10 836 /\d/WBZ8
367     >\x{6f4}<
368 nigel 91
369 ph10 836 /\S/WBZ8
370     \x{1680}\x{6f4}\x{1680}
371 nigel 93
372 ph10 836 /\s/WBZ8
373     >\x{1680}>
374 nigel 93
375 ph10 836 /\W/WBZ8
376     A\x{1712}B
377 nigel 93
378 ph10 836 /\w/WBZ8
379     >\x{1723}<
380 nigel 93
381 ph10 836 /[[:alpha:]]/WBZ
382 nigel 93
383 ph10 836 /[[:lower:]]/WBZ
384 nigel 93
385 ph10 836 /[[:upper:]]/WBZ
386 nigel 93
387 ph10 836 /[[:alnum:]]/WBZ
388 nigel 93
389 ph10 836 /[[:ascii:]]/WBZ
390 nigel 93
391 ph10 836 /[[:cntrl:]]/WBZ
392 nigel 93
393 ph10 836 /[[:digit:]]/WBZ
394 nigel 93
395 ph10 836 /[[:graph:]]/WBZ
396 nigel 93
397 ph10 836 /[[:print:]]/WBZ
398 nigel 93
399 ph10 836 /[[:punct:]]/WBZ
400 nigel 93
401 ph10 836 /[[:space:]]/WBZ
402 nigel 93
403 ph10 836 /[[:word:]]/WBZ
404 nigel 93
405 ph10 836 /[[:xdigit:]]/WBZ
406 nigel 93
407 ph10 836 /-- Unicode properties for \b abd \B --/
408 nigel 93
409 ph10 836 /\b...\B/8W
410     abc_
411     \x{37e}abc\x{376}
412     \x{37e}\x{376}\x{371}\x{393}\x{394}
413     !\x{c0}++\x{c1}\x{c2}
414     !\x{c0}+++++
415 nigel 93
416 ph10 836 /-- Without PCRE_UCP, non-ASCII always fail, even if < 256 --/
417 ph10 131
418 ph10 836 /\b...\B/8
419     abc_
420 ph10 131 ** Failers
421 ph10 836 \x{37e}abc\x{376}
422     \x{37e}\x{376}\x{371}\x{393}\x{394}
423     !\x{c0}++\x{c1}\x{c2}
424     !\x{c0}+++++
425 ph10 131
426 ph10 836 /-- With PCRE_UCP, non-UTF8 chars that are < 256 still check properties --/
427 ph10 141
428 ph10 836 /\b...\B/W
429     abc_
430     !\x{c0}++\x{c1}\x{c2}
431     !\x{c0}+++++
432 ph10 143
433 ph10 836 /-- Some of these are silly, but they check various combinations --/
434 ph10 175
435 ph10 836 /[[:^alpha:][:^cntrl:]]+/8WBZ
436     123
437     abc
438 ph10 175
439 ph10 836 /[[:^cntrl:][:^alpha:]]+/8WBZ
440     123
441     abc
442 ph10 175
443 ph10 836 /[[:alpha:]]+/8WBZ
444     abc
445 ph10 178
446 ph10 836 /[[:^alpha:]\S]+/8WBZ
447     123
448 ph10 341 abc
449 ph10 231
450 ph10 836 /[^\d]+/8WBZ
451     abc123
452     abc\x{123}
453     \x{660}abc
454 ph10 341
455 ph10 836 /\p{Lu}+9\p{Lu}+B\p{Lu}+b/BZ
456 ph10 341
457 ph10 836 /\p{^Lu}+9\p{^Lu}+B\p{^Lu}+b/BZ
458 ph10 341
459 ph10 836 /\P{Lu}+9\P{Lu}+B\P{Lu}+b/BZ
460 ph10 341
461 ph10 836 /\p{Han}+X\p{Greek}+\x{370}/BZ8
462 ph10 383
463 ph10 836 /\p{Xan}+!\p{Xan}+A/BZ
464 ph10 383
465 ph10 836 /\p{Xsp}+!\p{Xsp}\t/BZ
466 ph10 576
467 ph10 836 /\p{Xps}+!\p{Xps}\t/BZ
468 ph10 389
469 ph10 836 /\p{Xwd}+!\p{Xwd}_/BZ
470 ph10 398
471 ph10 836 /A+\p{N}A+\dB+\p{N}*B+\d*/WBZ
472 ph10 426
473 ph10 836 /-- These behaved oddly in Perl, so they are kept in this test --/
474 ph10 426
475 ph10 836 /(\x{23a}\x{23a}\x{23a})?\1/8i
476     \x{23a}\x{23a}\x{23a}\x{2c65}\x{2c65}
477 ph10 428
478 ph10 836 /(ȺȺȺ)?\1/8i
479     ȺȺȺⱥⱥ
480 ph10 428
481 ph10 836 /(\x{23a}\x{23a}\x{23a})?\1/8i
482     \x{23a}\x{23a}\x{23a}\x{2c65}\x{2c65}\x{2c65}
483 ph10 428
484 ph10 836 /(ȺȺȺ)?\1/8i
485     ȺȺȺⱥⱥⱥ
486 ph10 428
487 ph10 836 /(\x{23a}\x{23a}\x{23a})\1/8i
488     \x{23a}\x{23a}\x{23a}\x{2c65}\x{2c65}
489 ph10 428
490 ph10 836 /(ȺȺȺ)\1/8i
491     ȺȺȺⱥⱥ
492 ph10 428
493 ph10 836 /(\x{23a}\x{23a}\x{23a})\1/8i
494     \x{23a}\x{23a}\x{23a}\x{2c65}\x{2c65}\x{2c65}
495 ph10 428
496 ph10 836 /(ȺȺȺ)\1/8i
497     ȺȺȺⱥⱥⱥ
498 ph10 435
499 ph10 836 /(\x{2c65}\x{2c65})\1/8i
500     \x{2c65}\x{2c65}\x{23a}\x{23a}
501 ph10 473
502 ph10 836 /(ⱥⱥ)\1/8i
503     ⱥⱥȺȺ
504 ph10 473
505 ph10 836 /(\x{23a}\x{23a}\x{23a})\1Y/8i
506     X\x{23a}\x{23a}\x{23a}\x{2c65}\x{2c65}\x{2c65}YZ
507 ph10 473
508 ph10 836 /(\x{2c65}\x{2c65})\1Y/8i
509     X\x{2c65}\x{2c65}\x{23a}\x{23a}YZ
510 ph10 473
511 ph10 836 /-- --/
512 ph10 553
513 ph10 836 /-- These scripts weren't yet in Perl when I added Unicode 6.0.0 to PCRE --/
514 ph10 553
515 ph10 836 /^[\p{Batak}]/8
516     \x{1bc0}
517     \x{1bff}
518 ph10 637 ** Failers
519 ph10 836 \x{1bf4}
520 ph10 637
521 ph10 836 /^[\p{Brahmi}]/8
522     \x{11000}
523     \x{1106f}
524 ph10 637 ** Failers
525 ph10 836 \x{1104e}
526 ph10 637
527 ph10 836 /^[\p{Mandaic}]/8
528     \x{840}
529     \x{85e}
530 ph10 637 ** Failers
531 ph10 836 \x{85c}
532     \x{85d}
533 ph10 637
534 ph10 836 /-- --/
535 ph10 637
536 ph10 836 /(\X*)(.)/s8
537     A\x{300}
538 ph10 637
539 ph10 836 /^S(\X*)e(\X*)$/8
540     Stéréo
541    
542     /^\X/8
543     ́réo
544 ph10 637
545 ph10 836 /^a\X41z/<JS>
546     aX41z
547     *** Failers
548     aAz
549 ph10 637
550 ph10 836 /(?<=ab\Cde)X/8
551 ph10 637
552 ph10 935 /\X/
553     a\P
554     a\P\P
555    
556     /\Xa/
557     aa\P
558     aa\P\P
559    
560     /\X{2}/
561     aa\P
562     aa\P\P
563    
564     /\X+a/
565     a\P
566     aa\P
567     aa\P\P
568    
569     /\X+?a/
570     a\P
571     ab\P
572     aa\P
573     aa\P\P
574     aba\P
575 ph10 942
576     /-- These Unicode 6.1.0 scripts are not known to Perl. --/
577 ph10 935
578 ph10 942 /\p{Chakma}\d/8W
579     \x{11100}\x{1113c}
580    
581     /\p{Takri}\d/8W
582     \x{11680}\x{116c0}
583    
584 ph10 973 /^\X/8
585     A\P
586     A\P\P
587     A\x{300}\x{301}\P
588     A\x{300}\x{301}\P\P
589     A\x{301}\P
590     A\x{301}\P\P
591    
592     /^\X{2,3}/8
593     A\P
594     A\P\P
595     AA\P
596     AA\P\P
597     A\x{300}\x{301}\P
598     A\x{300}\x{301}\P\P
599     A\x{300}\x{301}A\x{300}\x{301}\P
600     A\x{300}\x{301}A\x{300}\x{301}\P\P
601    
602     /^\X{2}/8
603     AA\P
604     AA\P\P
605     A\x{300}\x{301}A\x{300}\x{301}\P
606     A\x{300}\x{301}A\x{300}\x{301}\P\P
607    
608     /^\X+/8
609     AA\P
610     AA\P\P
611    
612     /^\X+?Z/8
613     AA\P
614     AA\P\P
615    
616 ph10 1046 /A\x{3a3}B/8iDZ
617    
618     /\x{3a3}B/8iDZ
619    
620     /[\x{3a3}]/8iBZ
621    
622     /[^\x{3a3}]/8iBZ
623    
624     /[\x{3a3}]+/8iBZ
625    
626     /[^\x{3a3}]+/8iBZ
627    
628     /a*\x{3a3}/8iBZ
629    
630     /\x{3a3}+a/8iBZ
631    
632     /\x{3a3}*\x{3c2}/8iBZ
633    
634     /\x{3a3}{3}/8i+
635     \x{3a3}\x{3c3}\x{3c2}\x{3a3}\x{3c3}\x{3c2}
636    
637     /\x{3a3}{2,4}/8i+
638     \x{3a3}\x{3c3}\x{3c2}\x{3a3}\x{3c3}\x{3c2}
639    
640     /\x{3a3}{2,4}?/8i+
641     \x{3a3}\x{3c3}\x{3c2}\x{3a3}\x{3c3}\x{3c2}
642    
643     /\x{3a3}+./8i+
644     \x{3a3}\x{3c3}\x{3c2}\x{3a3}\x{3c3}\x{3c2}
645    
646     /\x{3a3}++./8i+
647     ** Failers
648     \x{3a3}\x{3c3}\x{3c2}\x{3a3}\x{3c3}\x{3c2}
649    
650 ph10 1048 /\x{3a3}*\x{3c2}/8iBZ
651    
652     /[^\x{3a3}]*\x{3c2}/8iBZ
653    
654     /[^a]*\x{3c2}/8iBZ
655    
656 ph10 1218 /ist/8iBZ
657     ikt
658    
659     /is+t/8i
660     iSs\x{17f}t
661     ikt
662    
663     /is+?t/8i
664     ikt
665    
666     /is?t/8i
667     ikt
668    
669     /is{2}t/8i
670     iskt
671 ph10 1260
672     /-- This property is a PCRE special --/
673 ph10 1218
674 ph10 1260 /^\p{Xuc}/8
675     $abc
676     @abc
677     `abc
678     \x{1234}abc
679     ** Failers
680     abc
681    
682     /^\p{Xuc}+/8
683     $@`\x{a0}\x{1234}\x{e000}**
684     ** Failers
685     \x{9f}
686    
687     /^\p{Xuc}+?/8
688     $@`\x{a0}\x{1234}\x{e000}**
689     ** Failers
690     \x{9f}
691    
692     /^\p{Xuc}+?\*/8
693     $@`\x{a0}\x{1234}\x{e000}**
694     ** Failers
695     \x{9f}
696    
697     /^\p{Xuc}++/8
698     $@`\x{a0}\x{1234}\x{e000}**
699     ** Failers
700     \x{9f}
701    
702     /^\p{Xuc}{3,5}/8
703     $@`\x{a0}\x{1234}\x{e000}**
704     ** Failers
705     \x{9f}
706    
707     /^\p{Xuc}{3,5}?/8
708     $@`\x{a0}\x{1234}\x{e000}**
709     ** Failers
710     \x{9f}
711    
712     /^[\p{Xuc}]/8
713     $@`\x{a0}\x{1234}\x{e000}**
714     ** Failers
715     \x{9f}
716    
717     /^[\p{Xuc}]+/8
718     $@`\x{a0}\x{1234}\x{e000}**
719     ** Failers
720     \x{9f}
721    
722     /^\P{Xuc}/8
723     abc
724     ** Failers
725     $abc
726     @abc
727     `abc
728     \x{1234}abc
729    
730     /^[\P{Xuc}]/8
731     abc
732     ** Failers
733     $abc
734     @abc
735     `abc
736     \x{1234}abc
737    
738 ph10 450 /-- End of testinput7 --/

Properties

Name Value
svn:keywords "Author Date Id Revision Url"

webmaster@exim.org
ViewVC Help
Powered by ViewVC 1.1.12