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

Contents of /code/trunk/testdata/testoutput5

Parent Directory Parent Directory | Revision Log Revision Log


Revision 919 - (hide annotations) (download)
Fri Feb 17 11:48:02 2012 UTC (15 months ago) by ph10
File size: 35155 byte(s)
Fix partial match issues with CRLF and \r, and update tests.

1 ph10 836 /-- This set of tests checks the API, internals, and non-Perl stuff for UTF
2     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 ph10 450
5 ph10 836 /\x{110000}/8DZ
6     Failed: character value in \x{...} sequence is too large at offset 9
7 nigel 75
8 nigel 63 /\x{ffffffff}/8
9     Failed: character value in \x{...} sequence is too large at offset 11
10 nigel 49
11 nigel 63 /\x{100000000}/8
12     Failed: character value in \x{...} sequence is too large at offset 12
13 nigel 49
14 ph10 836 /\x{d800}/8
15 ph10 848 Failed: disallowed Unicode code point (>= 0xd800 && <= 0xdfff) at offset 7
16 ph10 836
17     /\x{dfff}/8
18 ph10 848 Failed: disallowed Unicode code point (>= 0xd800 && <= 0xdfff) at offset 7
19 ph10 836
20     /\x{d7ff}/8
21    
22     /\x{e000}/8
23    
24 nigel 63 /^\x{100}a\x{1234}/8
25     \x{100}a\x{1234}bcd
26     0: \x{100}a\x{1234}
27 nigel 49
28 ph10 161 /\x{0041}\x{2262}\x{0391}\x{002e}/DZ8
29 nigel 63 ------------------------------------------------------------------
30 ph10 192 Bra
31 ph10 161 A\x{2262}\x{391}.
32     Ket
33     End
34 nigel 63 ------------------------------------------------------------------
35     Capturing subpattern count = 0
36 ph10 836 Options: utf
37 nigel 63 First char = 'A'
38     Need char = '.'
39     \x{0041}\x{2262}\x{0391}\x{002e}
40     0: A\x{2262}\x{391}.
41    
42 ph10 161 /.{3,5}X/DZ8
43 nigel 63 ------------------------------------------------------------------
44 ph10 192 Bra
45 ph10 161 Any{3}
46     Any{0,2}
47     X
48     Ket
49     End
50 nigel 63 ------------------------------------------------------------------
51     Capturing subpattern count = 0
52 ph10 836 Options: utf
53 nigel 63 No first char
54     Need char = 'X'
55     \x{212ab}\x{212ab}\x{212ab}\x{861}X
56     0: \x{212ab}\x{212ab}\x{212ab}\x{861}X
57    
58 ph10 161 /.{3,5}?/DZ8
59 nigel 63 ------------------------------------------------------------------
60 ph10 192 Bra
61 ph10 161 Any{3}
62     Any{0,2}?
63     Ket
64     End
65 nigel 63 ------------------------------------------------------------------
66     Capturing subpattern count = 0
67 ph10 836 Options: utf
68 nigel 63 No first char
69     No need char
70     \x{212ab}\x{212ab}\x{212ab}\x{861}
71     0: \x{212ab}\x{212ab}\x{212ab}
72    
73     /(?<=\C)X/8
74     Failed: \C not allowed in lookbehind assertion at offset 6
75 nigel 49
76 ph10 161 /^[ab]/8DZ
77 nigel 63 ------------------------------------------------------------------
78 ph10 192 Bra
79 ph10 161 ^
80     [ab]
81     Ket
82     End
83 nigel 63 ------------------------------------------------------------------
84     Capturing subpattern count = 0
85 ph10 836 Options: anchored utf
86 nigel 63 No first char
87     No need char
88     bar
89     0: b
90 nigel 49 *** Failers
91     No match
92 nigel 63 c
93 nigel 49 No match
94 nigel 63 \x{ff}
95 nigel 49 No match
96 nigel 63 \x{100}
97     No match
98 nigel 49
99 ph10 161 /^[^ab]/8DZ
100 nigel 63 ------------------------------------------------------------------
101 ph10 192 Bra
102 ph10 161 ^
103     [\x00-`c-\xff] (neg)
104     Ket
105     End
106 nigel 63 ------------------------------------------------------------------
107     Capturing subpattern count = 0
108 ph10 836 Options: anchored utf
109 nigel 63 No first char
110     No need char
111     c
112     0: c
113     \x{ff}
114     0: \x{ff}
115     \x{100}
116     0: \x{100}
117     *** Failers
118     0: *
119     aaa
120     No match
121    
122     /\x{100}*(\d+|"(?1)")/8
123     1234
124     0: 1234
125     1: 1234
126     "1234"
127     0: "1234"
128     1: "1234"
129     \x{100}1234
130     0: \x{100}1234
131     1: 1234
132     "\x{100}1234"
133     0: \x{100}1234
134     1: 1234
135     \x{100}\x{100}12ab
136     0: \x{100}\x{100}12
137     1: 12
138     \x{100}\x{100}"12"
139     0: \x{100}\x{100}"12"
140     1: "12"
141     *** Failers
142 nigel 49 No match
143 nigel 63 \x{100}\x{100}abcd
144 nigel 49 No match
145    
146 ph10 161 /\x{100}*/8DZ
147 nigel 63 ------------------------------------------------------------------
148 ph10 192 Bra
149 ph10 161 \x{100}*
150     Ket
151     End
152 nigel 63 ------------------------------------------------------------------
153     Capturing subpattern count = 0
154 ph10 836 Options: utf
155 nigel 63 No first char
156     No need char
157    
158 ph10 161 /a\x{100}*/8DZ
159 nigel 63 ------------------------------------------------------------------
160 ph10 192 Bra
161 ph10 161 a
162     \x{100}*
163     Ket
164     End
165 nigel 63 ------------------------------------------------------------------
166     Capturing subpattern count = 0
167 ph10 836 Options: utf
168 nigel 63 First char = 'a'
169     No need char
170    
171 ph10 161 /ab\x{100}*/8DZ
172 nigel 63 ------------------------------------------------------------------
173 ph10 192 Bra
174 ph10 161 ab
175     \x{100}*
176     Ket
177     End
178 nigel 63 ------------------------------------------------------------------
179     Capturing subpattern count = 0
180 ph10 836 Options: utf
181 nigel 63 First char = 'a'
182     Need char = 'b'
183    
184 ph10 161 /\x{100}*A/8DZ
185 nigel 63 ------------------------------------------------------------------
186 ph10 192 Bra
187 ph10 161 \x{100}*+
188     A
189     Ket
190     End
191 nigel 63 ------------------------------------------------------------------
192     Capturing subpattern count = 0
193 ph10 836 Options: utf
194 nigel 63 No first char
195     Need char = 'A'
196     A
197     0: A
198    
199 ph10 161 /\x{100}*\d(?R)/8DZ
200 nigel 63 ------------------------------------------------------------------
201 ph10 192 Bra
202 ph10 161 \x{100}*+
203     \d
204     Recurse
205     Ket
206     End
207 nigel 63 ------------------------------------------------------------------
208     Capturing subpattern count = 0
209 ph10 836 Options: utf
210 nigel 63 No first char
211     No need char
212    
213 ph10 162 /[Z\x{100}]/8DZ
214 nigel 63 ------------------------------------------------------------------
215 ph10 192 Bra
216 ph10 161 [Z\x{100}]
217     Ket
218     End
219 nigel 63 ------------------------------------------------------------------
220     Capturing subpattern count = 0
221 ph10 836 Options: utf
222 nigel 63 No first char
223     No need char
224     Z\x{100}
225     0: Z
226     \x{100}
227     0: \x{100}
228     \x{100}Z
229     0: \x{100}
230     *** Failers
231 nigel 49 No match
232    
233 nigel 63 /[\x{200}-\x{100}]/8
234     Failed: range out of order in character class at offset 15
235    
236     /[Ā-Ą]/8
237     \x{100}
238     0: \x{100}
239     \x{104}
240     0: \x{104}
241 nigel 49 *** Failers
242     No match
243 nigel 63 \x{105}
244 nigel 49 No match
245 nigel 63 \x{ff}
246 nigel 49 No match
247    
248 ph10 161 /[z-\x{100}]/8DZ
249 nigel 63 ------------------------------------------------------------------
250 ph10 192 Bra
251 ph10 161 [z-\x{100}]
252     Ket
253     End
254 nigel 63 ------------------------------------------------------------------
255     Capturing subpattern count = 0
256 ph10 836 Options: utf
257 nigel 63 No first char
258     No need char
259 nigel 49
260 ph10 161 /[z\Qa-d]Ā\E]/8DZ
261 nigel 63 ------------------------------------------------------------------
262 ph10 192 Bra
263 ph10 161 [\-\]adz\x{100}]
264     Ket
265     End
266 nigel 63 ------------------------------------------------------------------
267     Capturing subpattern count = 0
268 ph10 836 Options: utf
269 nigel 63 No first char
270     No need char
271     \x{100}
272     0: \x{100}
273     Ā
274     0: \x{100}
275 nigel 49
276 ph10 161 /[\xFF]/DZ
277 nigel 67 ------------------------------------------------------------------
278 ph10 192 Bra
279 ph10 161 \xff
280     Ket
281     End
282 nigel 67 ------------------------------------------------------------------
283     Capturing subpattern count = 0
284     No options
285 ph10 836 First char = \xff
286 nigel 67 No need char
287     >\xff<
288     0: \xff
289    
290 ph10 161 /[^\xFF]/DZ
291 nigel 67 ------------------------------------------------------------------
292 ph10 192 Bra
293 ph10 161 [^\xff]
294     Ket
295     End
296 nigel 67 ------------------------------------------------------------------
297     Capturing subpattern count = 0
298     No options
299     No first char
300     No need char
301    
302 nigel 71 /[Ä-Ü]/8
303     Ö # Matches without Study
304     0: \x{d6}
305     \x{d6}
306     0: \x{d6}
307    
308     /[Ä-Ü]/8S
309     Ö <-- Same with Study
310     0: \x{d6}
311     \x{d6}
312     0: \x{d6}
313    
314     /[\x{c4}-\x{dc}]/8
315     Ö # Matches without Study
316     0: \x{d6}
317     \x{d6}
318     0: \x{d6}
319    
320     /[\x{c4}-\x{dc}]/8S
321     Ö <-- Same with Study
322     0: \x{d6}
323     \x{d6}
324     0: \x{d6}
325    
326 ph10 161 /[^\x{100}]abc(xyz(?1))/8DZ
327 nigel 73 ------------------------------------------------------------------
328 ph10 192 Bra
329 ph10 161 [^\x{100}]
330     abc
331 ph10 192 CBra 1
332 ph10 161 xyz
333     Recurse
334     Ket
335     Ket
336     End
337 nigel 73 ------------------------------------------------------------------
338     Capturing subpattern count = 1
339 ph10 836 Options: utf
340 nigel 73 No first char
341     Need char = 'z'
342    
343 ph10 161 /[ab\x{100}]abc(xyz(?1))/8DZ
344 nigel 73 ------------------------------------------------------------------
345 ph10 192 Bra
346 ph10 161 [ab\x{100}]
347     abc
348 ph10 192 CBra 1
349 ph10 161 xyz
350     Recurse
351     Ket
352     Ket
353     End
354 nigel 73 ------------------------------------------------------------------
355     Capturing subpattern count = 1
356 ph10 836 Options: utf
357 nigel 73 No first char
358     Need char = 'z'
359    
360 ph10 161 /(\x{100}(b(?2)c))?/DZ8
361 nigel 73 ------------------------------------------------------------------
362 ph10 192 Bra
363 ph10 161 Brazero
364 ph10 192 CBra 1
365 ph10 161 \x{100}
366 ph10 192 CBra 2
367 ph10 161 b
368     Recurse
369     c
370     Ket
371     Ket
372     Ket
373     End
374 nigel 73 ------------------------------------------------------------------
375     Capturing subpattern count = 2
376 ph10 836 Options: utf
377 nigel 73 No first char
378     No need char
379    
380 ph10 161 /(\x{100}(b(?2)c)){0,2}/DZ8
381 nigel 73 ------------------------------------------------------------------
382 ph10 192 Bra
383 ph10 161 Brazero
384 ph10 192 Bra
385     CBra 1
386 ph10 161 \x{100}
387 ph10 192 CBra 2
388 ph10 161 b
389     Recurse
390     c
391     Ket
392     Ket
393     Brazero
394 ph10 192 CBra 1
395 ph10 161 \x{100}
396 ph10 192 CBra 2
397 ph10 161 b
398     Recurse
399     c
400     Ket
401     Ket
402     Ket
403     Ket
404     End
405 nigel 73 ------------------------------------------------------------------
406     Capturing subpattern count = 2
407 ph10 836 Options: utf
408 nigel 73 No first char
409     No need char
410    
411 ph10 161 /(\x{100}(b(?1)c))?/DZ8
412 nigel 73 ------------------------------------------------------------------
413 ph10 192 Bra
414 ph10 161 Brazero
415 ph10 192 CBra 1
416 ph10 161 \x{100}
417 ph10 192 CBra 2
418 ph10 161 b
419     Recurse
420     c
421     Ket
422     Ket
423     Ket
424     End
425 nigel 73 ------------------------------------------------------------------
426     Capturing subpattern count = 2
427 ph10 836 Options: utf
428 nigel 73 No first char
429     No need char
430    
431 ph10 161 /(\x{100}(b(?1)c)){0,2}/DZ8
432 nigel 73 ------------------------------------------------------------------
433 ph10 192 Bra
434 ph10 161 Brazero
435 ph10 192 Bra
436     CBra 1
437 ph10 161 \x{100}
438 ph10 192 CBra 2
439 ph10 161 b
440     Recurse
441     c
442     Ket
443     Ket
444     Brazero
445 ph10 192 CBra 1
446 ph10 161 \x{100}
447 ph10 192 CBra 2
448 ph10 161 b
449     Recurse
450     c
451     Ket
452     Ket
453     Ket
454     Ket
455     End
456 nigel 73 ------------------------------------------------------------------
457     Capturing subpattern count = 2
458 ph10 836 Options: utf
459 nigel 73 No first char
460     No need char
461    
462 nigel 75 /\W/8
463     A.B
464     0: .
465     A\x{100}B
466     0: \x{100}
467    
468     /\w/8
469     \x{100}X
470     0: X
471    
472 ph10 161 /^\ሴ/8DZ
473 nigel 87 ------------------------------------------------------------------
474 ph10 192 Bra
475 ph10 161 ^
476     \x{1234}
477     Ket
478     End
479 nigel 87 ------------------------------------------------------------------
480     Capturing subpattern count = 0
481 ph10 836 Options: anchored utf
482 nigel 87 No first char
483     No need char
484    
485 ph10 161 /\x{100}*\d/8DZ
486 nigel 93 ------------------------------------------------------------------
487 ph10 192 Bra
488 ph10 161 \x{100}*+
489     \d
490     Ket
491     End
492 nigel 93 ------------------------------------------------------------------
493     Capturing subpattern count = 0
494 ph10 836 Options: utf
495 nigel 93 No first char
496     No need char
497 nigel 91
498 ph10 161 /\x{100}*\s/8DZ
499 nigel 93 ------------------------------------------------------------------
500 ph10 192 Bra
501 ph10 161 \x{100}*+
502     \s
503     Ket
504     End
505 nigel 93 ------------------------------------------------------------------
506     Capturing subpattern count = 0
507 ph10 836 Options: utf
508 nigel 93 No first char
509     No need char
510    
511 ph10 161 /\x{100}*\w/8DZ
512 nigel 93 ------------------------------------------------------------------
513 ph10 192 Bra
514 ph10 161 \x{100}*+
515     \w
516     Ket
517     End
518 nigel 93 ------------------------------------------------------------------
519     Capturing subpattern count = 0
520 ph10 836 Options: utf
521 nigel 93 No first char
522     No need char
523    
524 ph10 161 /\x{100}*\D/8DZ
525 nigel 93 ------------------------------------------------------------------
526 ph10 192 Bra
527 ph10 161 \x{100}*
528     \D
529     Ket
530     End
531 nigel 93 ------------------------------------------------------------------
532     Capturing subpattern count = 0
533 ph10 836 Options: utf
534 nigel 93 No first char
535     No need char
536    
537 ph10 161 /\x{100}*\S/8DZ
538 nigel 93 ------------------------------------------------------------------
539 ph10 192 Bra
540 ph10 161 \x{100}*
541     \S
542     Ket
543     End
544 nigel 93 ------------------------------------------------------------------
545     Capturing subpattern count = 0
546 ph10 836 Options: utf
547 nigel 93 No first char
548     No need char
549    
550 ph10 161 /\x{100}*\W/8DZ
551 nigel 93 ------------------------------------------------------------------
552 ph10 192 Bra
553 ph10 161 \x{100}*
554     \W
555     Ket
556     End
557 nigel 93 ------------------------------------------------------------------
558     Capturing subpattern count = 0
559 ph10 836 Options: utf
560 nigel 93 No first char
561     No need char
562    
563     /()()()()()()()()()()
564     ()()()()()()()()()()
565     ()()()()()()()()()()
566     ()()()()()()()()()()
567     A (x) (?41) B/8x
568     AxxB
569     Matched, but too many substrings
570     0: AxxB
571     1:
572     2:
573     3:
574     4:
575     5:
576     6:
577     7:
578     8:
579     9:
580     10:
581     11:
582     12:
583     13:
584     14:
585    
586 ph10 162 /^[\x{100}\E-\Q\E\x{150}]/BZ8
587 nigel 93 ------------------------------------------------------------------
588 ph10 192 Bra
589 ph10 162 ^
590     [\x{100}-\x{150}]
591     Ket
592     End
593 nigel 93 ------------------------------------------------------------------
594    
595 ph10 162 /^[\QĀ\E-\QŐ\E]/BZ8
596 nigel 93 ------------------------------------------------------------------
597 ph10 192 Bra
598 ph10 162 ^
599     [\x{100}-\x{150}]
600     Ket
601     End
602 nigel 93 ------------------------------------------------------------------
603    
604     /^abc./mgx8<any>
605     abc1 \x0aabc2 \x0babc3xx \x0cabc4 \x0dabc5xx \x0d\x0aabc6 \x{0085}abc7 \x{2028}abc8 \x{2029}abc9 JUNK
606     0: abc1
607     0: abc2
608     0: abc3
609     0: abc4
610     0: abc5
611     0: abc6
612     0: abc7
613     0: abc8
614     0: abc9
615    
616     /abc.$/mgx8<any>
617     abc1\x0a abc2\x0b abc3\x0c abc4\x0d abc5\x0d\x0a abc6\x{0085} abc7\x{2028} abc8\x{2029} abc9
618     0: abc1
619     0: abc2
620     0: abc3
621     0: abc4
622     0: abc5
623     0: abc6
624     0: abc7
625     0: abc8
626     0: abc9
627    
628 ph10 247 /^a\Rb/8<bsr_unicode>
629 nigel 93 a\nb
630     0: a\x{0a}b
631     a\rb
632     0: a\x{0d}b
633     a\r\nb
634     0: a\x{0d}\x{0a}b
635     a\x0bb
636     0: a\x{0b}b
637     a\x0cb
638     0: a\x{0c}b
639     a\x{85}b
640     0: a\x{85}b
641     a\x{2028}b
642     0: a\x{2028}b
643     a\x{2029}b
644     0: a\x{2029}b
645     ** Failers
646     No match
647     a\n\rb
648     No match
649    
650 ph10 247 /^a\R*b/8<bsr_unicode>
651 nigel 93 ab
652     0: ab
653     a\nb
654     0: a\x{0a}b
655     a\rb
656     0: a\x{0d}b
657     a\r\nb
658     0: a\x{0d}\x{0a}b
659     a\x0bb
660     0: a\x{0b}b
661     a\x0c\x{2028}\x{2029}b
662     0: a\x{0c}\x{2028}\x{2029}b
663     a\x{85}b
664     0: a\x{85}b
665     a\n\rb
666     0: a\x{0a}\x{0d}b
667     a\n\r\x{85}\x0cb
668     0: a\x{0a}\x{0d}\x{85}\x{0c}b
669    
670 ph10 247 /^a\R+b/8<bsr_unicode>
671 nigel 93 a\nb
672     0: a\x{0a}b
673     a\rb
674     0: a\x{0d}b
675     a\r\nb
676     0: a\x{0d}\x{0a}b
677     a\x0bb
678     0: a\x{0b}b
679     a\x0c\x{2028}\x{2029}b
680     0: a\x{0c}\x{2028}\x{2029}b
681     a\x{85}b
682     0: a\x{85}b
683     a\n\rb
684     0: a\x{0a}\x{0d}b
685     a\n\r\x{85}\x0cb
686     0: a\x{0a}\x{0d}\x{85}\x{0c}b
687     ** Failers
688     No match
689     ab
690     No match
691    
692 ph10 247 /^a\R{1,3}b/8<bsr_unicode>
693 nigel 93 a\nb
694     0: a\x{0a}b
695     a\n\rb
696     0: a\x{0a}\x{0d}b
697     a\n\r\x{85}b
698     0: a\x{0a}\x{0d}\x{85}b
699     a\r\n\r\nb
700     0: a\x{0d}\x{0a}\x{0d}\x{0a}b
701     a\r\n\r\n\r\nb
702     0: a\x{0d}\x{0a}\x{0d}\x{0a}\x{0d}\x{0a}b
703     a\n\r\n\rb
704     0: a\x{0a}\x{0d}\x{0a}\x{0d}b
705     a\n\n\r\nb
706     0: a\x{0a}\x{0a}\x{0d}\x{0a}b
707     ** Failers
708     No match
709     a\n\n\n\rb
710     No match
711     a\r
712     No match
713    
714 ph10 178 /\H\h\V\v/8
715     X X\x0a
716     0: X X\x{0a}
717     X\x09X\x0b
718     0: X\x{09}X\x{0b}
719     ** Failers
720     No match
721     \x{a0} X\x0a
722     No match
723    
724     /\H*\h+\V?\v{3,4}/8
725     \x09\x20\x{a0}X\x0a\x0b\x0c\x0d\x0a
726     0: \x{09} \x{a0}X\x{0a}\x{0b}\x{0c}\x{0d}
727     \x09\x20\x{a0}\x0a\x0b\x0c\x0d\x0a
728     0: \x{09} \x{a0}\x{0a}\x{0b}\x{0c}\x{0d}
729     \x09\x20\x{a0}\x0a\x0b\x0c
730     0: \x{09} \x{a0}\x{0a}\x{0b}\x{0c}
731     ** Failers
732     No match
733     \x09\x20\x{a0}\x0a\x0b
734     No match
735    
736     /\H\h\V\v/8
737     \x{3001}\x{3000}\x{2030}\x{2028}
738     0: \x{3001}\x{3000}\x{2030}\x{2028}
739     X\x{180e}X\x{85}
740     0: X\x{180e}X\x{85}
741     ** Failers
742     No match
743     \x{2009} X\x0a
744     No match
745    
746     /\H*\h+\V?\v{3,4}/8
747     \x{1680}\x{180e}\x{2007}X\x{2028}\x{2029}\x0c\x0d\x0a
748     0: \x{1680}\x{180e}\x{2007}X\x{2028}\x{2029}\x{0c}\x{0d}
749     \x09\x{205f}\x{a0}\x0a\x{2029}\x0c\x{2028}\x0a
750     0: \x{09}\x{205f}\x{a0}\x{0a}\x{2029}\x{0c}\x{2028}
751     \x09\x20\x{202f}\x0a\x0b\x0c
752     0: \x{09} \x{202f}\x{0a}\x{0b}\x{0c}
753     ** Failers
754     No match
755     \x09\x{200a}\x{a0}\x{2028}\x0b
756     No match
757    
758     /[\h]/8BZ
759     ------------------------------------------------------------------
760 ph10 192 Bra
761 ph10 178 [\x09 \xa0\x{1680}\x{180e}\x{2000}-\x{200a}\x{202f}\x{205f}\x{3000}]
762     Ket
763     End
764     ------------------------------------------------------------------
765     >\x{1680}
766     0: \x{1680}
767    
768     /[\h]{3,}/8BZ
769     ------------------------------------------------------------------
770 ph10 192 Bra
771 ph10 178 [\x09 \xa0\x{1680}\x{180e}\x{2000}-\x{200a}\x{202f}\x{205f}\x{3000}]{3,}
772     Ket
773     End
774     ------------------------------------------------------------------
775     >\x{1680}\x{180e}\x{2000}\x{2003}\x{200a}\x{202f}\x{205f}\x{3000}<
776     0: \x{1680}\x{180e}\x{2000}\x{2003}\x{200a}\x{202f}\x{205f}\x{3000}
777    
778     /[\v]/8BZ
779     ------------------------------------------------------------------
780 ph10 192 Bra
781 ph10 178 [\x0a-\x0d\x85\x{2028}-\x{2029}]
782     Ket
783     End
784     ------------------------------------------------------------------
785    
786     /[\H]/8BZ
787     ------------------------------------------------------------------
788 ph10 192 Bra
789 ph10 836 [\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 ph10 178 Ket
791     End
792     ------------------------------------------------------------------
793    
794     /[\V]/8BZ
795     ------------------------------------------------------------------
796 ph10 192 Bra
797 ph10 836 [\x00-\x09\x0e-\x84\x86-\xff\x{100}-\x{2027}\x{202a}-\x{10ffff}]
798 ph10 178 Ket
799     End
800     ------------------------------------------------------------------
801    
802 ph10 190 /.*$/8<any>
803     \x{1ec5}
804     0: \x{1ec5}
805 ph10 211
806 ph10 231 /a\Rb/I8<bsr_anycrlf>
807     Capturing subpattern count = 0
808 ph10 836 Options: bsr_anycrlf utf
809 ph10 231 First char = 'a'
810     Need char = 'b'
811     a\rb
812     0: a\x{0d}b
813     a\nb
814     0: a\x{0a}b
815     a\r\nb
816     0: a\x{0d}\x{0a}b
817     ** Failers
818     No match
819     a\x{85}b
820     No match
821     a\x0bb
822     No match
823    
824     /a\Rb/I8<bsr_unicode>
825     Capturing subpattern count = 0
826 ph10 836 Options: bsr_unicode utf
827 ph10 231 First char = 'a'
828     Need char = 'b'
829     a\rb
830     0: a\x{0d}b
831     a\nb
832     0: a\x{0a}b
833     a\r\nb
834     0: a\x{0d}\x{0a}b
835     a\x{85}b
836     0: a\x{85}b
837     a\x0bb
838     0: a\x{0b}b
839     ** Failers
840     No match
841     a\x{85}b\<bsr_anycrlf>
842     No match
843     a\x0bb\<bsr_anycrlf>
844     No match
845    
846     /a\R?b/I8<bsr_anycrlf>
847     Capturing subpattern count = 0
848 ph10 836 Options: bsr_anycrlf utf
849 ph10 231 First char = 'a'
850     Need char = 'b'
851     a\rb
852     0: a\x{0d}b
853     a\nb
854     0: a\x{0a}b
855     a\r\nb
856     0: a\x{0d}\x{0a}b
857     ** Failers
858     No match
859     a\x{85}b
860     No match
861     a\x0bb
862     No match
863    
864     /a\R?b/I8<bsr_unicode>
865     Capturing subpattern count = 0
866 ph10 836 Options: bsr_unicode utf
867 ph10 231 First char = 'a'
868     Need char = 'b'
869     a\rb
870     0: a\x{0d}b
871     a\nb
872     0: a\x{0a}b
873     a\r\nb
874     0: a\x{0d}\x{0a}b
875     a\x{85}b
876     0: a\x{85}b
877     a\x0bb
878     0: a\x{0b}b
879     ** Failers
880     No match
881     a\x{85}b\<bsr_anycrlf>
882     No match
883     a\x0bb\<bsr_anycrlf>
884     No match
885    
886 ph10 294 /.*a.*=.b.*/8<ANY>
887     QQQ\x{2029}ABCaXYZ=!bPQR
888     0: ABCaXYZ=!bPQR
889     ** Failers
890     No match
891     a\x{2029}b
892     No match
893     \x61\xe2\x80\xa9\x62
894     No match
895    
896 ph10 295 /[[:a\x{100}b:]]/8
897     Failed: unknown POSIX class name at offset 3
898    
899 ph10 341 /a[^]b/<JS>8
900     a\x{1234}b
901     0: a\x{1234}b
902     a\nb
903     0: a\x{0a}b
904     ** Failers
905     No match
906     ab
907     No match
908    
909     /a[^]+b/<JS>8
910     aXb
911     0: aXb
912     a\nX\nX\x{1234}b
913     0: a\x{0a}X\x{0a}X\x{1234}b
914     ** Failers
915     No match
916     ab
917     No match
918    
919 ph10 355 /(\x{de})\1/
920     \x{de}\x{de}
921     0: \xde\xde
922     1: \xde
923    
924 ph10 364 /X/8f<any>
925     A\x{1ec5}ABCXYZ
926     0: X
927    
928 ph10 426 /Xa{2,4}b/8
929     X\P
930     Partial match: X
931     Xa\P
932     Partial match: Xa
933     Xaa\P
934     Partial match: Xaa
935     Xaaa\P
936     Partial match: Xaaa
937     Xaaaa\P
938     Partial match: Xaaaa
939    
940     /Xa{2,4}?b/8
941     X\P
942     Partial match: X
943     Xa\P
944     Partial match: Xa
945     Xaa\P
946     Partial match: Xaa
947     Xaaa\P
948     Partial match: Xaaa
949     Xaaaa\P
950     Partial match: Xaaaa
951    
952     /Xa{2,4}+b/8
953     X\P
954     Partial match: X
955     Xa\P
956     Partial match: Xa
957     Xaa\P
958     Partial match: Xaa
959     Xaaa\P
960     Partial match: Xaaa
961     Xaaaa\P
962     Partial match: Xaaaa
963    
964     /X\x{123}{2,4}b/8
965     X\P
966     Partial match: X
967     X\x{123}\P
968     Partial match: X\x{123}
969     X\x{123}\x{123}\P
970     Partial match: X\x{123}\x{123}
971     X\x{123}\x{123}\x{123}\P
972     Partial match: X\x{123}\x{123}\x{123}
973     X\x{123}\x{123}\x{123}\x{123}\P
974     Partial match: X\x{123}\x{123}\x{123}\x{123}
975    
976     /X\x{123}{2,4}?b/8
977     X\P
978     Partial match: X
979     X\x{123}\P
980     Partial match: X\x{123}
981     X\x{123}\x{123}\P
982     Partial match: X\x{123}\x{123}
983     X\x{123}\x{123}\x{123}\P
984     Partial match: X\x{123}\x{123}\x{123}
985     X\x{123}\x{123}\x{123}\x{123}\P
986     Partial match: X\x{123}\x{123}\x{123}\x{123}
987    
988     /X\x{123}{2,4}+b/8
989     X\P
990     Partial match: X
991     X\x{123}\P
992     Partial match: X\x{123}
993     X\x{123}\x{123}\P
994     Partial match: X\x{123}\x{123}
995     X\x{123}\x{123}\x{123}\P
996     Partial match: X\x{123}\x{123}\x{123}
997     X\x{123}\x{123}\x{123}\x{123}\P
998     Partial match: X\x{123}\x{123}\x{123}\x{123}
999    
1000     /X\x{123}{2,4}b/8
1001     Xx\P
1002     No match
1003     X\x{123}x\P
1004     No match
1005     X\x{123}\x{123}x\P
1006     No match
1007     X\x{123}\x{123}\x{123}x\P
1008     No match
1009     X\x{123}\x{123}\x{123}\x{123}x\P
1010     No match
1011    
1012     /X\x{123}{2,4}?b/8
1013     Xx\P
1014     No match
1015     X\x{123}x\P
1016     No match
1017     X\x{123}\x{123}x\P
1018     No match
1019     X\x{123}\x{123}\x{123}x\P
1020     No match
1021     X\x{123}\x{123}\x{123}\x{123}x\P
1022     No match
1023    
1024     /X\x{123}{2,4}+b/8
1025     Xx\P
1026     No match
1027     X\x{123}x\P
1028     No match
1029     X\x{123}\x{123}x\P
1030     No match
1031     X\x{123}\x{123}\x{123}x\P
1032     No match
1033     X\x{123}\x{123}\x{123}\x{123}x\P
1034     No match
1035    
1036     /X\d{2,4}b/8
1037     X\P
1038     Partial match: X
1039     X3\P
1040     Partial match: X3
1041     X33\P
1042     Partial match: X33
1043     X333\P
1044     Partial match: X333
1045     X3333\P
1046     Partial match: X3333
1047    
1048     /X\d{2,4}?b/8
1049     X\P
1050     Partial match: X
1051     X3\P
1052     Partial match: X3
1053     X33\P
1054     Partial match: X33
1055     X333\P
1056     Partial match: X333
1057     X3333\P
1058     Partial match: X3333
1059    
1060     /X\d{2,4}+b/8
1061     X\P
1062     Partial match: X
1063     X3\P
1064     Partial match: X3
1065     X33\P
1066     Partial match: X33
1067     X333\P
1068     Partial match: X333
1069     X3333\P
1070     Partial match: X3333
1071    
1072     /X\D{2,4}b/8
1073     X\P
1074     Partial match: X
1075     Xa\P
1076     Partial match: Xa
1077     Xaa\P
1078     Partial match: Xaa
1079     Xaaa\P
1080     Partial match: Xaaa
1081     Xaaaa\P
1082     Partial match: Xaaaa
1083    
1084     /X\D{2,4}?b/8
1085     X\P
1086     Partial match: X
1087     Xa\P
1088     Partial match: Xa
1089     Xaa\P
1090     Partial match: Xaa
1091     Xaaa\P
1092     Partial match: Xaaa
1093     Xaaaa\P
1094     Partial match: Xaaaa
1095    
1096     /X\D{2,4}+b/8
1097     X\P
1098     Partial match: X
1099     Xa\P
1100     Partial match: Xa
1101     Xaa\P
1102     Partial match: Xaa
1103     Xaaa\P
1104     Partial match: Xaaa
1105     Xaaaa\P
1106     Partial match: Xaaaa
1107    
1108     /X\D{2,4}b/8
1109     X\P
1110     Partial match: X
1111     X\x{123}\P
1112     Partial match: X\x{123}
1113     X\x{123}\x{123}\P
1114     Partial match: X\x{123}\x{123}
1115     X\x{123}\x{123}\x{123}\P
1116     Partial match: X\x{123}\x{123}\x{123}
1117     X\x{123}\x{123}\x{123}\x{123}\P
1118     Partial match: X\x{123}\x{123}\x{123}\x{123}
1119    
1120     /X\D{2,4}?b/8
1121     X\P
1122     Partial match: X
1123     X\x{123}\P
1124     Partial match: X\x{123}
1125     X\x{123}\x{123}\P
1126     Partial match: X\x{123}\x{123}
1127     X\x{123}\x{123}\x{123}\P
1128     Partial match: X\x{123}\x{123}\x{123}
1129     X\x{123}\x{123}\x{123}\x{123}\P
1130     Partial match: X\x{123}\x{123}\x{123}\x{123}
1131    
1132     /X\D{2,4}+b/8
1133     X\P
1134     Partial match: X
1135     X\x{123}\P
1136     Partial match: X\x{123}
1137     X\x{123}\x{123}\P
1138     Partial match: X\x{123}\x{123}
1139     X\x{123}\x{123}\x{123}\P
1140     Partial match: X\x{123}\x{123}\x{123}
1141     X\x{123}\x{123}\x{123}\x{123}\P
1142     Partial match: X\x{123}\x{123}\x{123}\x{123}
1143    
1144     /X[abc]{2,4}b/8
1145     X\P
1146     Partial match: X
1147     Xa\P
1148     Partial match: Xa
1149     Xaa\P
1150     Partial match: Xaa
1151     Xaaa\P
1152     Partial match: Xaaa
1153     Xaaaa\P
1154     Partial match: Xaaaa
1155    
1156     /X[abc]{2,4}?b/8
1157     X\P
1158     Partial match: X
1159     Xa\P
1160     Partial match: Xa
1161     Xaa\P
1162     Partial match: Xaa
1163     Xaaa\P
1164     Partial match: Xaaa
1165     Xaaaa\P
1166     Partial match: Xaaaa
1167    
1168     /X[abc]{2,4}+b/8
1169     X\P
1170     Partial match: X
1171     Xa\P
1172     Partial match: Xa
1173     Xaa\P
1174     Partial match: Xaa
1175     Xaaa\P
1176     Partial match: Xaaa
1177     Xaaaa\P
1178     Partial match: Xaaaa
1179    
1180     /X[abc\x{123}]{2,4}b/8
1181     X\P
1182     Partial match: X
1183     X\x{123}\P
1184     Partial match: X\x{123}
1185     X\x{123}\x{123}\P
1186     Partial match: X\x{123}\x{123}
1187     X\x{123}\x{123}\x{123}\P
1188     Partial match: X\x{123}\x{123}\x{123}
1189     X\x{123}\x{123}\x{123}\x{123}\P
1190     Partial match: X\x{123}\x{123}\x{123}\x{123}
1191    
1192     /X[abc\x{123}]{2,4}?b/8
1193     X\P
1194     Partial match: X
1195     X\x{123}\P
1196     Partial match: X\x{123}
1197     X\x{123}\x{123}\P
1198     Partial match: X\x{123}\x{123}
1199     X\x{123}\x{123}\x{123}\P
1200     Partial match: X\x{123}\x{123}\x{123}
1201     X\x{123}\x{123}\x{123}\x{123}\P
1202     Partial match: X\x{123}\x{123}\x{123}\x{123}
1203    
1204     /X[abc\x{123}]{2,4}+b/8
1205     X\P
1206     Partial match: X
1207     X\x{123}\P
1208     Partial match: X\x{123}
1209     X\x{123}\x{123}\P
1210     Partial match: X\x{123}\x{123}
1211     X\x{123}\x{123}\x{123}\P
1212     Partial match: X\x{123}\x{123}\x{123}
1213     X\x{123}\x{123}\x{123}\x{123}\P
1214     Partial match: X\x{123}\x{123}\x{123}\x{123}
1215    
1216     /X[^a]{2,4}b/8
1217     X\P
1218     Partial match: X
1219     Xz\P
1220     Partial match: Xz
1221     Xzz\P
1222     Partial match: Xzz
1223     Xzzz\P
1224     Partial match: Xzzz
1225     Xzzzz\P
1226     Partial match: Xzzzz
1227    
1228     /X[^a]{2,4}?b/8
1229     X\P
1230     Partial match: X
1231     Xz\P
1232     Partial match: Xz
1233     Xzz\P
1234     Partial match: Xzz
1235     Xzzz\P
1236     Partial match: Xzzz
1237     Xzzzz\P
1238     Partial match: Xzzzz
1239    
1240     /X[^a]{2,4}+b/8
1241     X\P
1242     Partial match: X
1243     Xz\P
1244     Partial match: Xz
1245     Xzz\P
1246     Partial match: Xzz
1247     Xzzz\P
1248     Partial match: Xzzz
1249     Xzzzz\P
1250     Partial match: Xzzzz
1251    
1252     /X[^a]{2,4}b/8
1253     X\P
1254     Partial match: X
1255     X\x{123}\P
1256     Partial match: X\x{123}
1257     X\x{123}\x{123}\P
1258     Partial match: X\x{123}\x{123}
1259     X\x{123}\x{123}\x{123}\P
1260     Partial match: X\x{123}\x{123}\x{123}
1261     X\x{123}\x{123}\x{123}\x{123}\P
1262     Partial match: X\x{123}\x{123}\x{123}\x{123}
1263    
1264     /X[^a]{2,4}?b/8
1265     X\P
1266     Partial match: X
1267     X\x{123}\P
1268     Partial match: X\x{123}
1269     X\x{123}\x{123}\P
1270     Partial match: X\x{123}\x{123}
1271     X\x{123}\x{123}\x{123}\P
1272     Partial match: X\x{123}\x{123}\x{123}
1273     X\x{123}\x{123}\x{123}\x{123}\P
1274     Partial match: X\x{123}\x{123}\x{123}\x{123}
1275    
1276     /X[^a]{2,4}+b/8
1277     X\P
1278     Partial match: X
1279     X\x{123}\P
1280     Partial match: X\x{123}
1281     X\x{123}\x{123}\P
1282     Partial match: X\x{123}\x{123}
1283     X\x{123}\x{123}\x{123}\P
1284     Partial match: X\x{123}\x{123}\x{123}
1285     X\x{123}\x{123}\x{123}\x{123}\P
1286     Partial match: X\x{123}\x{123}\x{123}\x{123}
1287    
1288     /(Y)X\1{2,4}b/8
1289     YX\P
1290     Partial match: YX
1291     YXY\P
1292     Partial match: YXY
1293     YXYY\P
1294     Partial match: YXYY
1295     YXYYY\P
1296     Partial match: YXYYY
1297     YXYYYY\P
1298     Partial match: YXYYYY
1299    
1300     /(Y)X\1{2,4}?b/8
1301     YX\P
1302     Partial match: YX
1303     YXY\P
1304     Partial match: YXY
1305     YXYY\P
1306     Partial match: YXYY
1307     YXYYY\P
1308     Partial match: YXYYY
1309     YXYYYY\P
1310     Partial match: YXYYYY
1311    
1312     /(Y)X\1{2,4}+b/8
1313     YX\P
1314     Partial match: YX
1315     YXY\P
1316     Partial match: YXY
1317     YXYY\P
1318     Partial match: YXYY
1319     YXYYY\P
1320     Partial match: YXYYY
1321     YXYYYY\P
1322     Partial match: YXYYYY
1323    
1324     /(\x{123})X\1{2,4}b/8
1325     \x{123}X\P
1326     Partial match: \x{123}X
1327     \x{123}X\x{123}\P
1328     Partial match: \x{123}X\x{123}
1329     \x{123}X\x{123}\x{123}\P
1330     Partial match: \x{123}X\x{123}\x{123}
1331     \x{123}X\x{123}\x{123}\x{123}\P
1332     Partial match: \x{123}X\x{123}\x{123}\x{123}
1333     \x{123}X\x{123}\x{123}\x{123}\x{123}\P
1334     Partial match: \x{123}X\x{123}\x{123}\x{123}\x{123}
1335    
1336     /(\x{123})X\1{2,4}?b/8
1337     \x{123}X\P
1338     Partial match: \x{123}X
1339     \x{123}X\x{123}\P
1340     Partial match: \x{123}X\x{123}
1341     \x{123}X\x{123}\x{123}\P
1342     Partial match: \x{123}X\x{123}\x{123}
1343     \x{123}X\x{123}\x{123}\x{123}\P
1344     Partial match: \x{123}X\x{123}\x{123}\x{123}
1345     \x{123}X\x{123}\x{123}\x{123}\x{123}\P
1346     Partial match: \x{123}X\x{123}\x{123}\x{123}\x{123}
1347    
1348     /(\x{123})X\1{2,4}+b/8
1349     \x{123}X\P
1350     Partial match: \x{123}X
1351     \x{123}X\x{123}\P
1352     Partial match: \x{123}X\x{123}
1353     \x{123}X\x{123}\x{123}\P
1354     Partial match: \x{123}X\x{123}\x{123}
1355     \x{123}X\x{123}\x{123}\x{123}\P
1356     Partial match: \x{123}X\x{123}\x{123}\x{123}
1357     \x{123}X\x{123}\x{123}\x{123}\x{123}\P
1358     Partial match: \x{123}X\x{123}\x{123}\x{123}\x{123}
1359    
1360 ph10 428 /\bthe cat\b/8
1361     the cat\P
1362     0: the cat
1363     the cat\P\P
1364     Partial match: the cat
1365    
1366 ph10 462 /abcd*/8
1367     xxxxabcd\P
1368     0: abcd
1369     xxxxabcd\P\P
1370     Partial match: abcd
1371    
1372     /abcd*/i8
1373     xxxxabcd\P
1374     0: abcd
1375     xxxxabcd\P\P
1376     Partial match: abcd
1377     XXXXABCD\P
1378     0: ABCD
1379     XXXXABCD\P\P
1380     Partial match: ABCD
1381    
1382     /abc\d*/8
1383     xxxxabc1\P
1384     0: abc1
1385     xxxxabc1\P\P
1386     Partial match: abc1
1387    
1388     /(a)bc\1*/8
1389     xxxxabca\P
1390     0: abca
1391     1: a
1392     xxxxabca\P\P
1393     Partial match: abca
1394    
1395     /abc[de]*/8
1396     xxxxabcde\P
1397     0: abcde
1398     xxxxabcde\P\P
1399     Partial match: abcde
1400    
1401 ph10 482 /X\W{3}X/8
1402     \PX
1403     Partial match: X
1404    
1405 ph10 541 /\sxxx\s/8T1
1406     AB\x{85}xxx\x{a0}XYZ
1407     0: \x{85}xxx\x{a0}
1408     AB\x{a0}xxx\x{85}XYZ
1409     0: \x{a0}xxx\x{85}
1410    
1411     /\S \S/8T1
1412     \x{a2} \x{84}
1413     0: \x{a2} \x{84}
1414    
1415 ph10 556 'A#хц'8x<any>BZ
1416     ------------------------------------------------------------------
1417     Bra
1418     A
1419     Ket
1420     End
1421     ------------------------------------------------------------------
1422    
1423     'A#хц
1424     PQ'8x<any>BZ
1425     ------------------------------------------------------------------
1426     Bra
1427     APQ
1428     Ket
1429     End
1430     ------------------------------------------------------------------
1431    
1432     /a+#хaa
1433     z#XX?/8x<any>BZ
1434     ------------------------------------------------------------------
1435     Bra
1436     a++
1437     z
1438     Ket
1439     End
1440     ------------------------------------------------------------------
1441    
1442     /a+#хaa
1443     z#х?/8x<any>BZ
1444     ------------------------------------------------------------------
1445     Bra
1446     a++
1447     z
1448     Ket
1449     End
1450     ------------------------------------------------------------------
1451    
1452     /\g{A}xxx#bXX(?'A'123)
1453     (?'A'456)/8x<any>BZ
1454     ------------------------------------------------------------------
1455     Bra
1456     \1
1457     xxx
1458     CBra 1
1459     456
1460     Ket
1461     Ket
1462     End
1463     ------------------------------------------------------------------
1464    
1465     /\g{A}xxx#bх(?'A'123)
1466     (?'A'456)/8x<any>BZ
1467     ------------------------------------------------------------------
1468     Bra
1469     \1
1470     xxx
1471     CBra 1
1472     456
1473     Ket
1474     Ket
1475     End
1476     ------------------------------------------------------------------
1477    
1478 ph10 574 /^\cģ/8
1479     Failed: \c must be followed by an ASCII character at offset 3
1480    
1481 ph10 600 /(\R*)(.)/s8
1482     \r\n
1483     0: \x{0d}
1484     1:
1485     2: \x{0d}
1486     \r\r\n\n\r
1487     0: \x{0d}\x{0d}\x{0a}\x{0a}\x{0d}
1488     1: \x{0d}\x{0d}\x{0a}\x{0a}
1489     2: \x{0d}
1490     \r\r\n\n\r\n
1491     0: \x{0d}\x{0d}\x{0a}\x{0a}\x{0d}
1492     1: \x{0d}\x{0d}\x{0a}\x{0a}
1493     2: \x{0d}
1494    
1495     /(\R)*(.)/s8
1496     \r\n
1497     0: \x{0d}
1498     1: <unset>
1499     2: \x{0d}
1500     \r\r\n\n\r
1501     0: \x{0d}\x{0d}\x{0a}\x{0a}\x{0d}
1502     1: \x{0a}
1503     2: \x{0d}
1504     \r\r\n\n\r\n
1505     0: \x{0d}\x{0d}\x{0a}\x{0a}\x{0d}
1506     1: \x{0a}
1507     2: \x{0d}
1508    
1509 ph10 603 /[^\x{1234}]+/iS8I
1510     Capturing subpattern count = 0
1511 ph10 836 Options: caseless utf
1512 ph10 603 No first char
1513     No need char
1514     Subject length lower bound = 1
1515     No set of starting bytes
1516    
1517     /[^\x{1234}]+?/iS8I
1518     Capturing subpattern count = 0
1519 ph10 836 Options: caseless utf
1520 ph10 603 No first char
1521     No need char
1522     Subject length lower bound = 1
1523     No set of starting bytes
1524    
1525     /[^\x{1234}]++/iS8I
1526     Capturing subpattern count = 0
1527 ph10 836 Options: caseless utf
1528 ph10 603 No first char
1529     No need char
1530     Subject length lower bound = 1
1531     No set of starting bytes
1532    
1533     /[^\x{1234}]{2}/iS8I
1534     Capturing subpattern count = 0
1535 ph10 836 Options: caseless utf
1536 ph10 603 No first char
1537     No need char
1538     Subject length lower bound = 2
1539     No set of starting bytes
1540    
1541 ph10 638 //<bsr_anycrlf><bsr_unicode>
1542     Failed: inconsistent NEWLINE options at offset 0
1543    
1544 ph10 651 /f.*/
1545     \P\Pfor
1546     Partial match: for
1547    
1548     /f.*/s
1549     \P\Pfor
1550     Partial match: for
1551    
1552     /f.*/8
1553     \P\Pfor
1554     Partial match: for
1555    
1556     /f.*/8s
1557     \P\Pfor
1558     Partial match: for
1559 ph10 836
1560     /\x{d7ff}\x{e000}/8
1561 ph10 651
1562 ph10 836 /\x{d800}/8
1563 ph10 848 Failed: disallowed Unicode code point (>= 0xd800 && <= 0xdfff) at offset 7
1564 ph10 836
1565     /\x{dfff}/8
1566 ph10 848 Failed: disallowed Unicode code point (>= 0xd800 && <= 0xdfff) at offset 7
1567 ph10 836
1568     /\h+/8
1569     \x{1681}\x{200b}\x{1680}\x{2000}\x{202f}\x{3000}
1570     0: \x{1680}\x{2000}\x{202f}\x{3000}
1571     \x{3001}\x{2fff}\x{200a}\x{a0}\x{2000}
1572     0: \x{200a}\x{a0}\x{2000}
1573    
1574     /[\h\x{e000}]+/8BZ
1575     ------------------------------------------------------------------
1576     Bra
1577     [\x09 \xa0\x{1680}\x{180e}\x{2000}-\x{200a}\x{202f}\x{205f}\x{3000}\x{e000}]+
1578     Ket
1579     End
1580     ------------------------------------------------------------------
1581     \x{1681}\x{200b}\x{1680}\x{2000}\x{202f}\x{3000}
1582     0: \x{1680}\x{2000}\x{202f}\x{3000}
1583     \x{3001}\x{2fff}\x{200a}\x{a0}\x{2000}
1584     0: \x{200a}\x{a0}\x{2000}
1585    
1586     /\H+/8
1587     \x{1680}\x{180e}\x{167f}\x{1681}\x{180d}\x{180f}
1588     0: \x{167f}\x{1681}\x{180d}\x{180f}
1589     \x{2000}\x{200a}\x{1fff}\x{200b}
1590     0: \x{1fff}\x{200b}
1591     \x{202f}\x{205f}\x{202e}\x{2030}\x{205e}\x{2060}
1592     0: \x{202e}\x{2030}\x{205e}\x{2060}
1593     \x{a0}\x{3000}\x{9f}\x{a1}\x{2fff}\x{3001}
1594     0: \x{9f}\x{a1}\x{2fff}\x{3001}
1595    
1596     /[\H\x{d7ff}]+/8BZ
1597     ------------------------------------------------------------------
1598     Bra
1599     [\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}]+
1600     Ket
1601     End
1602     ------------------------------------------------------------------
1603     \x{1680}\x{180e}\x{167f}\x{1681}\x{180d}\x{180f}
1604     0: \x{167f}\x{1681}\x{180d}\x{180f}
1605     \x{2000}\x{200a}\x{1fff}\x{200b}
1606     0: \x{1fff}\x{200b}
1607     \x{202f}\x{205f}\x{202e}\x{2030}\x{205e}\x{2060}
1608     0: \x{202e}\x{2030}\x{205e}\x{2060}
1609     \x{a0}\x{3000}\x{9f}\x{a1}\x{2fff}\x{3001}
1610     0: \x{9f}\x{a1}\x{2fff}\x{3001}
1611    
1612     /\v+/8
1613     \x{2027}\x{2030}\x{2028}\x{2029}
1614     0: \x{2028}\x{2029}
1615     \x09\x0e\x{84}\x{86}\x{85}\x0a\x0b\x0c\x0d
1616     0: \x{85}\x{0a}\x{0b}\x{0c}\x{0d}
1617    
1618     /[\v\x{e000}]+/8BZ
1619     ------------------------------------------------------------------
1620     Bra
1621     [\x0a-\x0d\x85\x{2028}-\x{2029}\x{e000}]+
1622     Ket
1623     End
1624     ------------------------------------------------------------------
1625     \x{2027}\x{2030}\x{2028}\x{2029}
1626     0: \x{2028}\x{2029}
1627     \x09\x0e\x{84}\x{86}\x{85}\x0a\x0b\x0c\x0d
1628     0: \x{85}\x{0a}\x{0b}\x{0c}\x{0d}
1629    
1630     /\V+/8
1631     \x{2028}\x{2029}\x{2027}\x{2030}
1632     0: \x{2027}\x{2030}
1633     \x{85}\x0a\x0b\x0c\x0d\x09\x0e\x{84}\x{86}
1634     0: \x{09}\x{0e}\x{84}\x{86}
1635    
1636     /[\V\x{d7ff}]+/8BZ
1637     ------------------------------------------------------------------
1638     Bra
1639     [\x00-\x09\x0e-\x84\x86-\xff\x{100}-\x{2027}\x{202a}-\x{10ffff}\x{d7ff}]+
1640     Ket
1641     End
1642     ------------------------------------------------------------------
1643     \x{2028}\x{2029}\x{2027}\x{2030}
1644     0: \x{2027}\x{2030}
1645     \x{85}\x0a\x0b\x0c\x0d\x09\x0e\x{84}\x{86}
1646     0: \x{09}\x{0e}\x{84}\x{86}
1647    
1648     /\R+/8<bsr_unicode>
1649     \x{2027}\x{2030}\x{2028}\x{2029}
1650     0: \x{2028}\x{2029}
1651     \x09\x0e\x{84}\x{86}\x{85}\x0a\x0b\x0c\x0d
1652     0: \x{85}\x{0a}\x{0b}\x{0c}\x{0d}
1653    
1654 zherczeg 915 /(..)\1/8
1655     ab\P
1656     Partial match: ab
1657     aba\P
1658     Partial match: aba
1659     abab\P
1660     0: abab
1661     1: ab
1662    
1663     /(..)\1/8i
1664     ab\P
1665     Partial match: ab
1666     abA\P
1667     Partial match: abA
1668     aBAb\P
1669     0: aBAb
1670     1: aB
1671    
1672     /(..)\1{2,}/8
1673     ab\P
1674     Partial match: ab
1675     aba\P
1676     Partial match: aba
1677     abab\P
1678     Partial match: abab
1679     ababa\P
1680     Partial match: ababa
1681     ababab\P
1682     0: ababab
1683     1: ab
1684     ababab\P\P
1685     Partial match: ababab
1686     abababa\P
1687     0: ababab
1688     1: ab
1689     abababa\P\P
1690     Partial match: abababa
1691    
1692     /(..)\1{2,}/8i
1693     ab\P
1694     Partial match: ab
1695     aBa\P
1696     Partial match: aBa
1697     aBAb\P
1698     Partial match: aBAb
1699     AbaBA\P
1700     Partial match: AbaBA
1701     abABAb\P
1702     0: abABAb
1703     1: ab
1704     aBAbaB\P\P
1705     Partial match: aBAbaB
1706     abABabA\P
1707     0: abABab
1708     1: ab
1709     abaBABa\P\P
1710     Partial match: abaBABa
1711    
1712     /(..)\1{2,}?x/8i
1713     ab\P
1714     Partial match: ab
1715     abA\P
1716     Partial match: abA
1717     aBAb\P
1718     Partial match: aBAb
1719     abaBA\P
1720     Partial match: abaBA
1721     abAbaB\P
1722     Partial match: abAbaB
1723     abaBabA\P
1724     Partial match: abaBabA
1725     abAbABaBx\P
1726     0: abAbABaBx
1727     1: ab
1728    
1729 ph10 916 /^\X/8
1730     A\P
1731     0: A
1732     A\P\P
1733     Partial match: A
1734     A\x{300}\x{301}\P
1735     0: A\x{300}\x{301}
1736     A\x{300}\x{301}\P\P
1737     Partial match: A\x{300}\x{301}
1738     A\x{301}\P
1739     0: A\x{301}
1740     A\x{301}\P\P
1741     Partial match: A\x{301}
1742    
1743     /^\X{2,3}/8
1744     A\P
1745     Partial match: A
1746     A\P\P
1747     Partial match: A
1748     AA\P
1749     0: AA
1750     AA\P\P
1751     Partial match: AA
1752     A\x{300}\x{301}\P
1753     Partial match: A\x{300}\x{301}
1754     A\x{300}\x{301}\P\P
1755     Partial match: A\x{300}\x{301}
1756     A\x{300}\x{301}A\x{300}\x{301}\P
1757     0: A\x{300}\x{301}A\x{300}\x{301}
1758     A\x{300}\x{301}A\x{300}\x{301}\P\P
1759     Partial match: A\x{300}\x{301}A\x{300}\x{301}
1760    
1761     /^\X{2}/8
1762     AA\P
1763     0: AA
1764     AA\P\P
1765     Partial match: AA
1766     A\x{300}\x{301}A\x{300}\x{301}\P
1767     0: A\x{300}\x{301}A\x{300}\x{301}
1768     A\x{300}\x{301}A\x{300}\x{301}\P\P
1769     Partial match: A\x{300}\x{301}A\x{300}\x{301}
1770    
1771     /^\X+/8
1772     AA\P
1773     0: AA
1774     AA\P\P
1775     Partial match: AA
1776    
1777     /^\X+?Z/8
1778     AA\P
1779     Partial match: AA
1780     AA\P\P
1781     Partial match: AA
1782    
1783 ph10 919
1784     /./8<CRLF>
1785     \r\P
1786     0: \x{0d}
1787     \r\P\P
1788     Partial match: \x{0d}
1789    
1790     /.{2,3}/8<CRLF>
1791     \r\P
1792     Partial match: \x{0d}
1793     \r\P\P
1794     Partial match: \x{0d}
1795     \r\r\P
1796     0: \x{0d}\x{0d}
1797     \r\r\P\P
1798     Partial match: \x{0d}\x{0d}
1799     \r\r\r\P
1800     0: \x{0d}\x{0d}\x{0d}
1801     \r\r\r\P\P
1802     Partial match: \x{0d}\x{0d}\x{0d}
1803    
1804     /.{2,3}?/8<CRLF>
1805     \r\P
1806     Partial match: \x{0d}
1807     \r\P\P
1808     Partial match: \x{0d}
1809     \r\r\P
1810     0: \x{0d}\x{0d}
1811     \r\r\P\P
1812     Partial match: \x{0d}\x{0d}
1813     \r\r\r\P
1814     0: \x{0d}\x{0d}
1815     \r\r\r\P\P
1816     0: \x{0d}\x{0d}
1817    
1818 ph10 450 /-- End of testinput5 --/

Properties

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

webmaster@exim.org
ViewVC Help
Powered by ViewVC 1.1.12