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

Contents of /code/trunk/testdata/testoutput5

Parent Directory Parent Directory | Revision Log Revision Log


Revision 341 - (hide annotations) (download)
Sat Apr 19 16:41:04 2008 UTC (6 years, 5 months ago) by ph10
File size: 33362 byte(s)
Fix DFA (?!) bug; add support for JavaScript empty classes.

1 ph10 162 /\x{100}/8DZ
2 nigel 75 ------------------------------------------------------------------
3 ph10 192 Bra
4 ph10 161 \x{100}
5     Ket
6     End
7 nigel 75 ------------------------------------------------------------------
8     Capturing subpattern count = 0
9     Options: utf8
10     First char = 196
11     Need char = 128
12    
13 ph10 162 /\x{1000}/8DZ
14 nigel 63 ------------------------------------------------------------------
15 ph10 192 Bra
16 ph10 161 \x{1000}
17     Ket
18     End
19 nigel 63 ------------------------------------------------------------------
20     Capturing subpattern count = 0
21     Options: utf8
22 nigel 75 First char = 225
23 nigel 63 Need char = 128
24 nigel 49
25 ph10 162 /\x{10000}/8DZ
26 nigel 63 ------------------------------------------------------------------
27 ph10 192 Bra
28 ph10 161 \x{10000}
29     Ket
30     End
31 nigel 63 ------------------------------------------------------------------
32     Capturing subpattern count = 0
33     Options: utf8
34 nigel 75 First char = 240
35 nigel 63 Need char = 128
36 nigel 49
37 ph10 162 /\x{100000}/8DZ
38 nigel 63 ------------------------------------------------------------------
39 ph10 192 Bra
40 ph10 161 \x{100000}
41     Ket
42     End
43 nigel 63 ------------------------------------------------------------------
44     Capturing subpattern count = 0
45     Options: utf8
46 nigel 75 First char = 244
47 nigel 63 Need char = 128
48 nigel 49
49 ph10 162 /\x{1000000}/8DZ
50 nigel 63 ------------------------------------------------------------------
51 ph10 192 Bra
52 ph10 161 \x{1000000}
53     Ket
54     End
55 nigel 63 ------------------------------------------------------------------
56     Capturing subpattern count = 0
57     Options: utf8
58 nigel 75 First char = 249
59 nigel 63 Need char = 128
60 nigel 49
61 ph10 162 /\x{4000000}/8DZ
62 nigel 63 ------------------------------------------------------------------
63 ph10 192 Bra
64 ph10 161 \x{4000000}
65     Ket
66     End
67 nigel 63 ------------------------------------------------------------------
68     Capturing subpattern count = 0
69     Options: utf8
70     First char = 252
71     Need char = 128
72 nigel 49
73 ph10 162 /\x{7fffFFFF}/8DZ
74 nigel 63 ------------------------------------------------------------------
75 ph10 192 Bra
76 ph10 161 \x{7fffffff}
77     Ket
78     End
79 nigel 63 ------------------------------------------------------------------
80     Capturing subpattern count = 0
81     Options: utf8
82     First char = 253
83     Need char = 191
84 nigel 49
85 ph10 162 /[\x{ff}]/8DZ
86 nigel 63 ------------------------------------------------------------------
87 ph10 192 Bra
88 ph10 161 \x{ff}
89     Ket
90     End
91 nigel 63 ------------------------------------------------------------------
92     Capturing subpattern count = 0
93     Options: utf8
94 nigel 75 First char = 195
95     Need char = 191
96 nigel 49
97 ph10 162 /[\x{100}]/8DZ
98 nigel 63 ------------------------------------------------------------------
99 ph10 192 Bra
100 ph10 161 [\x{100}]
101     Ket
102     End
103 nigel 63 ------------------------------------------------------------------
104     Capturing subpattern count = 0
105     Options: utf8
106     No first char
107     No need char
108 nigel 49
109 nigel 63 /\x{ffffffff}/8
110     Failed: character value in \x{...} sequence is too large at offset 11
111 nigel 49
112 nigel 63 /\x{100000000}/8
113     Failed: character value in \x{...} sequence is too large at offset 12
114 nigel 49
115 nigel 63 /^\x{100}a\x{1234}/8
116     \x{100}a\x{1234}bcd
117     0: \x{100}a\x{1234}
118 nigel 49
119 ph10 161 /\x80/8DZ
120 nigel 63 ------------------------------------------------------------------
121 ph10 192 Bra
122 ph10 161 \x{80}
123     Ket
124     End
125 nigel 63 ------------------------------------------------------------------
126     Capturing subpattern count = 0
127     Options: utf8
128     First char = 194
129     Need char = 128
130    
131 ph10 161 /\xff/8DZ
132 nigel 63 ------------------------------------------------------------------
133 ph10 192 Bra
134 ph10 161 \x{ff}
135     Ket
136     End
137 nigel 63 ------------------------------------------------------------------
138     Capturing subpattern count = 0
139     Options: utf8
140     First char = 195
141     Need char = 191
142    
143 ph10 161 /\x{0041}\x{2262}\x{0391}\x{002e}/DZ8
144 nigel 63 ------------------------------------------------------------------
145 ph10 192 Bra
146 ph10 161 A\x{2262}\x{391}.
147     Ket
148     End
149 nigel 63 ------------------------------------------------------------------
150     Capturing subpattern count = 0
151     Options: utf8
152     First char = 'A'
153     Need char = '.'
154     \x{0041}\x{2262}\x{0391}\x{002e}
155     0: A\x{2262}\x{391}.
156    
157 ph10 161 /\x{D55c}\x{ad6d}\x{C5B4}/DZ8
158 nigel 63 ------------------------------------------------------------------
159 ph10 192 Bra
160 ph10 161 \x{d55c}\x{ad6d}\x{c5b4}
161     Ket
162     End
163 nigel 63 ------------------------------------------------------------------
164     Capturing subpattern count = 0
165     Options: utf8
166     First char = 237
167     Need char = 180
168     \x{D55c}\x{ad6d}\x{C5B4}
169     0: \x{d55c}\x{ad6d}\x{c5b4}
170    
171 ph10 161 /\x{65e5}\x{672c}\x{8a9e}/DZ8
172 nigel 63 ------------------------------------------------------------------
173 ph10 192 Bra
174 ph10 161 \x{65e5}\x{672c}\x{8a9e}
175     Ket
176     End
177 nigel 63 ------------------------------------------------------------------
178     Capturing subpattern count = 0
179     Options: utf8
180     First char = 230
181     Need char = 158
182     \x{65e5}\x{672c}\x{8a9e}
183     0: \x{65e5}\x{672c}\x{8a9e}
184    
185 ph10 161 /\x{80}/DZ8
186 nigel 63 ------------------------------------------------------------------
187 ph10 192 Bra
188 ph10 161 \x{80}
189     Ket
190     End
191 nigel 63 ------------------------------------------------------------------
192     Capturing subpattern count = 0
193     Options: utf8
194     First char = 194
195     Need char = 128
196    
197 ph10 161 /\x{084}/DZ8
198 nigel 63 ------------------------------------------------------------------
199 ph10 192 Bra
200 ph10 161 \x{84}
201     Ket
202     End
203 nigel 63 ------------------------------------------------------------------
204     Capturing subpattern count = 0
205     Options: utf8
206     First char = 194
207     Need char = 132
208    
209 ph10 161 /\x{104}/DZ8
210 nigel 63 ------------------------------------------------------------------
211 ph10 192 Bra
212 ph10 161 \x{104}
213     Ket
214     End
215 nigel 63 ------------------------------------------------------------------
216     Capturing subpattern count = 0
217     Options: utf8
218     First char = 196
219     Need char = 132
220    
221 ph10 161 /\x{861}/DZ8
222 nigel 63 ------------------------------------------------------------------
223 ph10 192 Bra
224 ph10 161 \x{861}
225     Ket
226     End
227 nigel 63 ------------------------------------------------------------------
228     Capturing subpattern count = 0
229     Options: utf8
230     First char = 224
231     Need char = 161
232    
233 ph10 161 /\x{212ab}/DZ8
234 nigel 63 ------------------------------------------------------------------
235 ph10 192 Bra
236 ph10 161 \x{212ab}
237     Ket
238     End
239 nigel 63 ------------------------------------------------------------------
240     Capturing subpattern count = 0
241     Options: utf8
242     First char = 240
243     Need char = 171
244    
245 ph10 161 /.{3,5}X/DZ8
246 nigel 63 ------------------------------------------------------------------
247 ph10 192 Bra
248 ph10 161 Any{3}
249     Any{0,2}
250     X
251     Ket
252     End
253 nigel 63 ------------------------------------------------------------------
254     Capturing subpattern count = 0
255 nigel 75 Partial matching not supported
256 nigel 63 Options: utf8
257     No first char
258     Need char = 'X'
259     \x{212ab}\x{212ab}\x{212ab}\x{861}X
260     0: \x{212ab}\x{212ab}\x{212ab}\x{861}X
261    
262    
263 ph10 161 /.{3,5}?/DZ8
264 nigel 63 ------------------------------------------------------------------
265 ph10 192 Bra
266 ph10 161 Any{3}
267     Any{0,2}?
268     Ket
269     End
270 nigel 63 ------------------------------------------------------------------
271     Capturing subpattern count = 0
272 nigel 75 Partial matching not supported
273 nigel 63 Options: utf8
274     No first char
275     No need char
276     \x{212ab}\x{212ab}\x{212ab}\x{861}
277     0: \x{212ab}\x{212ab}\x{212ab}
278    
279 ph10 161 /-- These tests are here rather than in testinput4 because Perl 5.6 has some
280     problems with UTF-8 support, in the area of \x{..} where the value is < 255.
281     It grumbles about invalid UTF-8 strings. --/
282 nigel 63
283     /^[a\x{c0}]b/8
284     \x{c0}b
285     0: \x{c0}b
286    
287     /^([a\x{c0}]*?)aa/8
288     a\x{c0}aaaa/
289     0: a\x{c0}aa
290     1: a\x{c0}
291    
292     /^([a\x{c0}]*?)aa/8
293     a\x{c0}aaaa/
294     0: a\x{c0}aa
295     1: a\x{c0}
296     a\x{c0}a\x{c0}aaa/
297     0: a\x{c0}a\x{c0}aa
298     1: a\x{c0}a\x{c0}
299    
300     /^([a\x{c0}]*)aa/8
301     a\x{c0}aaaa/
302     0: a\x{c0}aaaa
303     1: a\x{c0}aa
304     a\x{c0}a\x{c0}aaa/
305     0: a\x{c0}a\x{c0}aaa
306     1: a\x{c0}a\x{c0}a
307    
308     /^([a\x{c0}]*)a\x{c0}/8
309     a\x{c0}aaaa/
310     0: a\x{c0}
311 nigel 49 1:
312 nigel 63 a\x{c0}a\x{c0}aaa/
313     0: a\x{c0}a\x{c0}
314     1: a\x{c0}
315    
316     /-- --/
317    
318     /(?<=\C)X/8
319     Failed: \C not allowed in lookbehind assertion at offset 6
320 nigel 49
321 ph10 161 /-- This one is here not because it's different to Perl, but because the way
322     the captured single-byte is displayed. (In Perl it becomes a character, and you
323     can't tell the difference.) --/
324 nigel 63
325     /X(\C)(.*)/8
326     X\x{1234}
327     0: X\x{1234}
328     1: \xe1
329     2: \x88\xb4
330     X\nabc
331     0: X\x{0a}abc
332     1: \x{0a}
333     2: abc
334    
335 ph10 161 /^[ab]/8DZ
336 nigel 63 ------------------------------------------------------------------
337 ph10 192 Bra
338 ph10 161 ^
339     [ab]
340     Ket
341     End
342 nigel 63 ------------------------------------------------------------------
343     Capturing subpattern count = 0
344     Options: anchored utf8
345     No first char
346     No need char
347     bar
348     0: b
349 nigel 49 *** Failers
350     No match
351 nigel 63 c
352 nigel 49 No match
353 nigel 63 \x{ff}
354 nigel 49 No match
355 nigel 63 \x{100}
356     No match
357 nigel 49
358 ph10 161 /^[^ab]/8DZ
359 nigel 63 ------------------------------------------------------------------
360 ph10 192 Bra
361 ph10 161 ^
362     [\x00-`c-\xff] (neg)
363     Ket
364     End
365 nigel 63 ------------------------------------------------------------------
366     Capturing subpattern count = 0
367     Options: anchored utf8
368     No first char
369     No need char
370     c
371     0: c
372     \x{ff}
373     0: \x{ff}
374     \x{100}
375     0: \x{100}
376     *** Failers
377     0: *
378     aaa
379     No match
380    
381 ph10 161 /[^ab\xC0-\xF0]/8SDZ
382 nigel 63 ------------------------------------------------------------------
383 ph10 192 Bra
384 ph10 161 [\x00-`c-\xbf\xf1-\xff] (neg)
385     Ket
386     End
387 nigel 63 ------------------------------------------------------------------
388     Capturing subpattern count = 0
389     Options: utf8
390     No first char
391     No need char
392 nigel 75 Starting byte set: \x00 \x01 \x02 \x03 \x04 \x05 \x06 \x07 \x08 \x09 \x0a
393 nigel 63 \x0b \x0c \x0d \x0e \x0f \x10 \x11 \x12 \x13 \x14 \x15 \x16 \x17 \x18 \x19
394     \x1a \x1b \x1c \x1d \x1e \x1f \x20 ! " # $ % & ' ( ) * + , - . / 0 1 2 3 4
395     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
396     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
397 nigel 71 \xc2 \xc3 \xc4 \xc5 \xc6 \xc7 \xc8 \xc9 \xca \xcb \xcc \xcd \xce \xcf \xd0
398     \xd1 \xd2 \xd3 \xd4 \xd5 \xd6 \xd7 \xd8 \xd9 \xda \xdb \xdc \xdd \xde \xdf
399     \xe0 \xe1 \xe2 \xe3 \xe4 \xe5 \xe6 \xe7 \xe8 \xe9 \xea \xeb \xec \xed \xee
400     \xef \xf0 \xf1 \xf2 \xf3 \xf4 \xf5 \xf6 \xf7 \xf8 \xf9 \xfa \xfb \xfc \xfd
401     \xfe \xff
402 nigel 63 \x{f1}
403     0: \x{f1}
404     \x{bf}
405     0: \x{bf}
406     \x{100}
407     0: \x{100}
408     \x{1000}
409     0: \x{1000}
410 nigel 49 *** Failers
411 nigel 63 0: *
412     \x{c0}
413 nigel 49 No match
414 nigel 63 \x{f0}
415 nigel 49 No match
416    
417 ph10 161 /Ā{3,4}/8SDZ
418 nigel 63 ------------------------------------------------------------------
419 ph10 192 Bra
420 ph10 161 \x{100}{3}
421     \x{100}?
422     Ket
423     End
424 nigel 63 ------------------------------------------------------------------
425     Capturing subpattern count = 0
426 nigel 75 Partial matching not supported
427 nigel 63 Options: utf8
428     First char = 196
429     Need char = 128
430     Study returned NULL
431     \x{100}\x{100}\x{100}\x{100\x{100}
432     0: \x{100}\x{100}\x{100}
433    
434 ph10 161 /(\x{100}+|x)/8SDZ
435 nigel 63 ------------------------------------------------------------------
436 ph10 192 Bra
437     CBra 1
438 ph10 161 \x{100}+
439     Alt
440     x
441     Ket
442     Ket
443     End
444 nigel 63 ------------------------------------------------------------------
445     Capturing subpattern count = 1
446 nigel 75 Partial matching not supported
447 nigel 63 Options: utf8
448     No first char
449     No need char
450 nigel 93 Starting byte set: x \xc4
451 nigel 63
452 ph10 161 /(\x{100}*a|x)/8SDZ
453 nigel 63 ------------------------------------------------------------------
454 ph10 192 Bra
455     CBra 1
456 ph10 161 \x{100}*+
457     a
458     Alt
459     x
460     Ket
461     Ket
462     End
463 nigel 63 ------------------------------------------------------------------
464     Capturing subpattern count = 1
465 nigel 75 Partial matching not supported
466 nigel 63 Options: utf8
467     No first char
468     No need char
469 nigel 75 Starting byte set: a x \xc4
470 nigel 63
471 ph10 161 /(\x{100}{0,2}a|x)/8SDZ
472 nigel 93 ------------------------------------------------------------------
473 ph10 192 Bra
474     CBra 1
475 ph10 161 \x{100}{0,2}
476     a
477     Alt
478     x
479     Ket
480     Ket
481     End
482 nigel 93 ------------------------------------------------------------------
483     Capturing subpattern count = 1
484     Partial matching not supported
485     Options: utf8
486     No first char
487     No need char
488     Starting byte set: a x \xc4
489    
490 ph10 161 /(\x{100}{1,2}a|x)/8SDZ
491 nigel 63 ------------------------------------------------------------------
492 ph10 192 Bra
493     CBra 1
494 ph10 161 \x{100}
495     \x{100}{0,1}
496     a
497     Alt
498     x
499     Ket
500     Ket
501     End
502 nigel 63 ------------------------------------------------------------------
503     Capturing subpattern count = 1
504 nigel 75 Partial matching not supported
505 nigel 63 Options: utf8
506     No first char
507     No need char
508 nigel 75 Starting byte set: x \xc4
509 nigel 63
510     /\x{100}*(\d+|"(?1)")/8
511     1234
512     0: 1234
513     1: 1234
514     "1234"
515     0: "1234"
516     1: "1234"
517     \x{100}1234
518     0: \x{100}1234
519     1: 1234
520     "\x{100}1234"
521     0: \x{100}1234
522     1: 1234
523     \x{100}\x{100}12ab
524     0: \x{100}\x{100}12
525     1: 12
526     \x{100}\x{100}"12"
527     0: \x{100}\x{100}"12"
528     1: "12"
529     *** Failers
530 nigel 49 No match
531 nigel 63 \x{100}\x{100}abcd
532 nigel 49 No match
533    
534 ph10 161 /\x{100}/8DZ
535 nigel 63 ------------------------------------------------------------------
536 ph10 192 Bra
537 ph10 161 \x{100}
538     Ket
539     End
540 nigel 63 ------------------------------------------------------------------
541     Capturing subpattern count = 0
542     Options: utf8
543     First char = 196
544     Need char = 128
545    
546 ph10 161 /\x{100}*/8DZ
547 nigel 63 ------------------------------------------------------------------
548 ph10 192 Bra
549 ph10 161 \x{100}*
550     Ket
551     End
552 nigel 63 ------------------------------------------------------------------
553     Capturing subpattern count = 0
554 nigel 75 Partial matching not supported
555 nigel 63 Options: utf8
556     No first char
557     No need char
558    
559 ph10 161 /a\x{100}*/8DZ
560 nigel 63 ------------------------------------------------------------------
561 ph10 192 Bra
562 ph10 161 a
563     \x{100}*
564     Ket
565     End
566 nigel 63 ------------------------------------------------------------------
567     Capturing subpattern count = 0
568 nigel 75 Partial matching not supported
569 nigel 63 Options: utf8
570     First char = 'a'
571     No need char
572    
573 ph10 161 /ab\x{100}*/8DZ
574 nigel 63 ------------------------------------------------------------------
575 ph10 192 Bra
576 ph10 161 ab
577     \x{100}*
578     Ket
579     End
580 nigel 63 ------------------------------------------------------------------
581     Capturing subpattern count = 0
582 nigel 75 Partial matching not supported
583 nigel 63 Options: utf8
584     First char = 'a'
585     Need char = 'b'
586    
587 ph10 161 /a\x{100}\x{101}*/8DZ
588 nigel 63 ------------------------------------------------------------------
589 ph10 192 Bra
590 ph10 161 a\x{100}
591     \x{101}*
592     Ket
593     End
594 nigel 63 ------------------------------------------------------------------
595     Capturing subpattern count = 0
596 nigel 75 Partial matching not supported
597 nigel 63 Options: utf8
598     First char = 'a'
599     Need char = 128
600    
601 ph10 161 /a\x{100}\x{101}+/8DZ
602 nigel 63 ------------------------------------------------------------------
603 ph10 192 Bra
604 ph10 161 a\x{100}
605     \x{101}+
606     Ket
607     End
608 nigel 63 ------------------------------------------------------------------
609     Capturing subpattern count = 0
610 nigel 75 Partial matching not supported
611 nigel 63 Options: utf8
612     First char = 'a'
613     Need char = 129
614    
615 ph10 161 /\x{100}*A/8DZ
616 nigel 63 ------------------------------------------------------------------
617 ph10 192 Bra
618 ph10 161 \x{100}*+
619     A
620     Ket
621     End
622 nigel 63 ------------------------------------------------------------------
623     Capturing subpattern count = 0
624 nigel 75 Partial matching not supported
625 nigel 63 Options: utf8
626     No first char
627     Need char = 'A'
628     A
629     0: A
630    
631 ph10 161 /\x{100}*\d(?R)/8DZ
632 nigel 63 ------------------------------------------------------------------
633 ph10 192 Bra
634 ph10 161 \x{100}*+
635     \d
636     Once
637     Recurse
638     Ket
639     Ket
640     End
641 nigel 63 ------------------------------------------------------------------
642     Capturing subpattern count = 0
643 nigel 75 Partial matching not supported
644 nigel 63 Options: utf8
645     No first char
646     No need char
647    
648 ph10 161 /[^\x{c4}]/DZ
649 nigel 63 ------------------------------------------------------------------
650 ph10 192 Bra
651 ph10 161 [^\xc4]
652     Ket
653     End
654 nigel 63 ------------------------------------------------------------------
655     Capturing subpattern count = 0
656     No options
657     No first char
658     No need char
659    
660 ph10 161 /[^\x{c4}]/8DZ
661 nigel 63 ------------------------------------------------------------------
662 ph10 192 Bra
663 ph10 161 [\x00-\xc3\xc5-\xff] (neg)
664     Ket
665     End
666 nigel 63 ------------------------------------------------------------------
667     Capturing subpattern count = 0
668     Options: utf8
669     No first char
670     No need char
671    
672 ph10 162 /[\x{100}]/8DZ
673 nigel 63 ------------------------------------------------------------------
674 ph10 192 Bra
675 ph10 161 [\x{100}]
676     Ket
677     End
678 nigel 63 ------------------------------------------------------------------
679     Capturing subpattern count = 0
680     Options: utf8
681     No first char
682     No need char
683     \x{100}
684     0: \x{100}
685     Z\x{100}
686     0: \x{100}
687     \x{100}Z
688     0: \x{100}
689     *** Failers
690 nigel 49 No match
691 nigel 63
692 ph10 162 /[Z\x{100}]/8DZ
693 nigel 63 ------------------------------------------------------------------
694 ph10 192 Bra
695 ph10 161 [Z\x{100}]
696     Ket
697     End
698 nigel 63 ------------------------------------------------------------------
699     Capturing subpattern count = 0
700     Options: utf8
701     No first char
702     No need char
703     Z\x{100}
704     0: Z
705     \x{100}
706     0: \x{100}
707     \x{100}Z
708     0: \x{100}
709     *** Failers
710 nigel 49 No match
711    
712 nigel 63 /[\x{200}-\x{100}]/8
713     Failed: range out of order in character class at offset 15
714    
715     /[Ā-Ą]/8
716     \x{100}
717     0: \x{100}
718     \x{104}
719     0: \x{104}
720 nigel 49 *** Failers
721     No match
722 nigel 63 \x{105}
723 nigel 49 No match
724 nigel 63 \x{ff}
725 nigel 49 No match
726    
727 ph10 161 /[z-\x{100}]/8DZ
728 nigel 63 ------------------------------------------------------------------
729 ph10 192 Bra
730 ph10 161 [z-\x{100}]
731     Ket
732     End
733 nigel 63 ------------------------------------------------------------------
734     Capturing subpattern count = 0
735     Options: utf8
736     No first char
737     No need char
738 nigel 49
739 ph10 161 /[z\Qa-d]Ā\E]/8DZ
740 nigel 63 ------------------------------------------------------------------
741 ph10 192 Bra
742 ph10 161 [\-\]adz\x{100}]
743     Ket
744     End
745 nigel 63 ------------------------------------------------------------------
746     Capturing subpattern count = 0
747     Options: utf8
748     No first char
749     No need char
750     \x{100}
751     0: \x{100}
752     Ā
753     0: \x{100}
754 nigel 49
755 ph10 161 /[\xFF]/DZ
756 nigel 67 ------------------------------------------------------------------
757 ph10 192 Bra
758 ph10 161 \xff
759     Ket
760     End
761 nigel 67 ------------------------------------------------------------------
762     Capturing subpattern count = 0
763     No options
764     First char = 255
765     No need char
766     >\xff<
767     0: \xff
768    
769 ph10 161 /[\xff]/DZ8
770 nigel 67 ------------------------------------------------------------------
771 ph10 192 Bra
772 ph10 161 \x{ff}
773     Ket
774     End
775 nigel 67 ------------------------------------------------------------------
776     Capturing subpattern count = 0
777     Options: utf8
778 nigel 75 First char = 195
779     Need char = 191
780 nigel 67 >\x{ff}<
781     0: \x{ff}
782    
783 ph10 161 /[^\xFF]/DZ
784 nigel 67 ------------------------------------------------------------------
785 ph10 192 Bra
786 ph10 161 [^\xff]
787     Ket
788     End
789 nigel 67 ------------------------------------------------------------------
790     Capturing subpattern count = 0
791     No options
792     No first char
793     No need char
794    
795 ph10 161 /[^\xff]/8DZ
796 nigel 67 ------------------------------------------------------------------
797 ph10 192 Bra
798 ph10 161 [\x00-\xfe] (neg)
799     Ket
800     End
801 nigel 67 ------------------------------------------------------------------
802     Capturing subpattern count = 0
803     Options: utf8
804     No first char
805     No need char
806    
807 nigel 71 /[Ä-Ü]/8
808     Ö # Matches without Study
809     0: \x{d6}
810     \x{d6}
811     0: \x{d6}
812    
813     /[Ä-Ü]/8S
814     Ö <-- Same with Study
815     0: \x{d6}
816     \x{d6}
817     0: \x{d6}
818    
819     /[\x{c4}-\x{dc}]/8
820     Ö # Matches without Study
821     0: \x{d6}
822     \x{d6}
823     0: \x{d6}
824    
825     /[\x{c4}-\x{dc}]/8S
826     Ö <-- Same with Study
827     0: \x{d6}
828     \x{d6}
829     0: \x{d6}
830    
831     /[]/8
832     Failed: invalid UTF-8 string at offset 2
833    
834     //8
835     Failed: invalid UTF-8 string at offset 0
836    
837     /xxx/8
838     Failed: invalid UTF-8 string at offset 1
839    
840 ph10 161 /xxx/8?DZ
841 nigel 71 ------------------------------------------------------------------
842 ph10 192 Bra
843 ph10 161 \X{c0}\X{c0}\X{c0}xxx
844     Ket
845     End
846 nigel 71 ------------------------------------------------------------------
847     Capturing subpattern count = 0
848     Options: utf8 no_utf8_check
849     First char = 195
850     Need char = 'x'
851    
852     /abc/8
853 nigel 73 ]
854 nigel 71 Error -10
855 nigel 73
856 nigel 71 Error -10
857 nigel 73
858 nigel 71 Error -10
859 nigel 73 \?
860 nigel 71 No match
861    
862 nigel 73 /anything/8
863     \xc0\x80
864     Error -10
865     \xc1\x8f
866     Error -10
867     \xe0\x9f\x80
868     Error -10
869     \xf0\x8f\x80\x80
870     Error -10
871     \xf8\x87\x80\x80\x80
872     Error -10
873     \xfc\x83\x80\x80\x80\x80
874     Error -10
875     \xfe\x80\x80\x80\x80\x80
876     Error -10
877     \xff\x80\x80\x80\x80\x80
878     Error -10
879     \xc3\x8f
880     No match
881     \xe0\xaf\x80
882     No match
883     \xe1\x80\x80
884     No match
885     \xf0\x9f\x80\x80
886     No match
887     \xf1\x8f\x80\x80
888     No match
889     \xf8\x88\x80\x80\x80
890 ph10 211 Error -10
891 nigel 73 \xf9\x87\x80\x80\x80
892 ph10 211 Error -10
893 nigel 73 \xfc\x84\x80\x80\x80\x80
894 ph10 211 Error -10
895 nigel 73 \xfd\x83\x80\x80\x80\x80
896 ph10 211 Error -10
897     \?\xf8\x88\x80\x80\x80
898 nigel 73 No match
899 ph10 211 \?\xf9\x87\x80\x80\x80
900     No match
901     \?\xfc\x84\x80\x80\x80\x80
902     No match
903     \?\xfd\x83\x80\x80\x80\x80
904     No match
905 nigel 73
906 ph10 161 /\x{100}abc(xyz(?1))/8DZ
907 nigel 73 ------------------------------------------------------------------
908 ph10 192 Bra
909 ph10 161 \x{100}abc
910 ph10 192 CBra 1
911 ph10 161 xyz
912     Once
913     Recurse
914     Ket
915     Ket
916     Ket
917     End
918 nigel 73 ------------------------------------------------------------------
919     Capturing subpattern count = 1
920     Options: utf8
921     First char = 196
922     Need char = 'z'
923    
924 ph10 161 /[^\x{100}]abc(xyz(?1))/8DZ
925 nigel 73 ------------------------------------------------------------------
926 ph10 192 Bra
927 ph10 161 [^\x{100}]
928     abc
929 ph10 192 CBra 1
930 ph10 161 xyz
931     Once
932     Recurse
933     Ket
934     Ket
935     Ket
936     End
937 nigel 73 ------------------------------------------------------------------
938     Capturing subpattern count = 1
939     Options: utf8
940     No first char
941     Need char = 'z'
942    
943 ph10 161 /[ab\x{100}]abc(xyz(?1))/8DZ
944 nigel 73 ------------------------------------------------------------------
945 ph10 192 Bra
946 ph10 161 [ab\x{100}]
947     abc
948 ph10 192 CBra 1
949 ph10 161 xyz
950     Once
951     Recurse
952     Ket
953     Ket
954     Ket
955     End
956 nigel 73 ------------------------------------------------------------------
957     Capturing subpattern count = 1
958     Options: utf8
959     No first char
960     Need char = 'z'
961    
962 ph10 161 /(\x{100}(b(?2)c))?/DZ8
963 nigel 73 ------------------------------------------------------------------
964 ph10 192 Bra
965 ph10 161 Brazero
966 ph10 192 CBra 1
967 ph10 161 \x{100}
968 ph10 192 CBra 2
969 ph10 161 b
970     Once
971     Recurse
972     Ket
973     c
974     Ket
975     Ket
976     Ket
977     End
978 nigel 73 ------------------------------------------------------------------
979     Capturing subpattern count = 2
980     Options: utf8
981     No first char
982     No need char
983    
984 ph10 161 /(\x{100}(b(?2)c)){0,2}/DZ8
985 nigel 73 ------------------------------------------------------------------
986 ph10 192 Bra
987 ph10 161 Brazero
988 ph10 192 Bra
989     CBra 1
990 ph10 161 \x{100}
991 ph10 192 CBra 2
992 ph10 161 b
993     Once
994     Recurse
995     Ket
996     c
997     Ket
998     Ket
999     Brazero
1000 ph10 192 CBra 1
1001 ph10 161 \x{100}
1002 ph10 192 CBra 2
1003 ph10 161 b
1004     Once
1005     Recurse
1006     Ket
1007     c
1008     Ket
1009     Ket
1010     Ket
1011     Ket
1012     End
1013 nigel 73 ------------------------------------------------------------------
1014     Capturing subpattern count = 2
1015     Options: utf8
1016     No first char
1017     No need char
1018    
1019 ph10 161 /(\x{100}(b(?1)c))?/DZ8
1020 nigel 73 ------------------------------------------------------------------
1021 ph10 192 Bra
1022 ph10 161 Brazero
1023 ph10 192 CBra 1
1024 ph10 161 \x{100}
1025 ph10 192 CBra 2
1026 ph10 161 b
1027     Once
1028     Recurse
1029     Ket
1030     c
1031     Ket
1032     Ket
1033     Ket
1034     End
1035 nigel 73 ------------------------------------------------------------------
1036     Capturing subpattern count = 2
1037     Options: utf8
1038     No first char
1039     No need char
1040    
1041 ph10 161 /(\x{100}(b(?1)c)){0,2}/DZ8
1042 nigel 73 ------------------------------------------------------------------
1043 ph10 192 Bra
1044 ph10 161 Brazero
1045 ph10 192 Bra
1046     CBra 1
1047 ph10 161 \x{100}
1048 ph10 192 CBra 2
1049 ph10 161 b
1050     Once
1051     Recurse
1052     Ket
1053     c
1054     Ket
1055     Ket
1056     Brazero
1057 ph10 192 CBra 1
1058 ph10 161 \x{100}
1059 ph10 192 CBra 2
1060 ph10 161 b
1061     Once
1062     Recurse
1063     Ket
1064     c
1065     Ket
1066     Ket
1067     Ket
1068     Ket
1069     End
1070 nigel 73 ------------------------------------------------------------------
1071     Capturing subpattern count = 2
1072     Options: utf8
1073     No first char
1074     No need char
1075    
1076 nigel 75 /\W/8
1077     A.B
1078     0: .
1079     A\x{100}B
1080     0: \x{100}
1081    
1082     /\w/8
1083     \x{100}X
1084     0: X
1085    
1086 nigel 87 /a\x{1234}b/P8
1087     a\x{1234}b
1088     0: a\x{1234}b
1089    
1090 ph10 161 /^\ሴ/8DZ
1091 nigel 87 ------------------------------------------------------------------
1092 ph10 192 Bra
1093 ph10 161 ^
1094     \x{1234}
1095     Ket
1096     End
1097 nigel 87 ------------------------------------------------------------------
1098     Capturing subpattern count = 0
1099     Options: anchored utf8
1100     No first char
1101     No need char
1102    
1103 nigel 91 /\777/I
1104     Failed: octal value is greater than \377 (not in UTF-8 mode) at offset 3
1105    
1106     /\777/8I
1107     Capturing subpattern count = 0
1108     Options: utf8
1109     First char = 199
1110     Need char = 191
1111     \x{1ff}
1112     0: \x{1ff}
1113     \777
1114     0: \x{1ff}
1115 nigel 93
1116 ph10 161 /\x{100}*\d/8DZ
1117 nigel 93 ------------------------------------------------------------------
1118 ph10 192 Bra
1119 ph10 161 \x{100}*+
1120     \d
1121     Ket
1122     End
1123 nigel 93 ------------------------------------------------------------------
1124     Capturing subpattern count = 0
1125     Partial matching not supported
1126     Options: utf8
1127     No first char
1128     No need char
1129 nigel 91
1130 ph10 161 /\x{100}*\s/8DZ
1131 nigel 93 ------------------------------------------------------------------
1132 ph10 192 Bra
1133 ph10 161 \x{100}*+
1134     \s
1135     Ket
1136     End
1137 nigel 93 ------------------------------------------------------------------
1138     Capturing subpattern count = 0
1139     Partial matching not supported
1140     Options: utf8
1141     No first char
1142     No need char
1143    
1144 ph10 161 /\x{100}*\w/8DZ
1145 nigel 93 ------------------------------------------------------------------
1146 ph10 192 Bra
1147 ph10 161 \x{100}*+
1148     \w
1149     Ket
1150     End
1151 nigel 93 ------------------------------------------------------------------
1152     Capturing subpattern count = 0
1153     Partial matching not supported
1154     Options: utf8
1155     No first char
1156     No need char
1157    
1158 ph10 161 /\x{100}*\D/8DZ
1159 nigel 93 ------------------------------------------------------------------
1160 ph10 192 Bra
1161 ph10 161 \x{100}*
1162     \D
1163     Ket
1164     End
1165 nigel 93 ------------------------------------------------------------------
1166     Capturing subpattern count = 0
1167     Partial matching not supported
1168     Options: utf8
1169     No first char
1170     No need char
1171    
1172 ph10 161 /\x{100}*\S/8DZ
1173 nigel 93 ------------------------------------------------------------------
1174 ph10 192 Bra
1175 ph10 161 \x{100}*
1176     \S
1177     Ket
1178     End
1179 nigel 93 ------------------------------------------------------------------
1180     Capturing subpattern count = 0
1181     Partial matching not supported
1182     Options: utf8
1183     No first char
1184     No need char
1185    
1186 ph10 161 /\x{100}*\W/8DZ
1187 nigel 93 ------------------------------------------------------------------
1188 ph10 192 Bra
1189 ph10 161 \x{100}*
1190     \W
1191     Ket
1192     End
1193 nigel 93 ------------------------------------------------------------------
1194     Capturing subpattern count = 0
1195     Partial matching not supported
1196     Options: utf8
1197     No first char
1198     No need char
1199    
1200 ph10 161 /\x{100}+\x{200}/8DZ
1201 nigel 93 ------------------------------------------------------------------
1202 ph10 192 Bra
1203 ph10 161 \x{100}++
1204     \x{200}
1205     Ket
1206     End
1207 nigel 93 ------------------------------------------------------------------
1208     Capturing subpattern count = 0
1209     Partial matching not supported
1210     Options: utf8
1211     First char = 196
1212     Need char = 128
1213    
1214 ph10 161 /\x{100}+X/8DZ
1215 nigel 93 ------------------------------------------------------------------
1216 ph10 192 Bra
1217 ph10 161 \x{100}++
1218     X
1219     Ket
1220     End
1221 nigel 93 ------------------------------------------------------------------
1222     Capturing subpattern count = 0
1223     Partial matching not supported
1224     Options: utf8
1225     First char = 196
1226     Need char = 'X'
1227    
1228 ph10 161 /X+\x{200}/8DZ
1229 nigel 93 ------------------------------------------------------------------
1230 ph10 192 Bra
1231 ph10 161 X++
1232     \x{200}
1233     Ket
1234     End
1235 nigel 93 ------------------------------------------------------------------
1236     Capturing subpattern count = 0
1237     Partial matching not supported
1238     Options: utf8
1239     First char = 'X'
1240     Need char = 128
1241    
1242     /()()()()()()()()()()
1243     ()()()()()()()()()()
1244     ()()()()()()()()()()
1245     ()()()()()()()()()()
1246     A (x) (?41) B/8x
1247     AxxB
1248     Matched, but too many substrings
1249     0: AxxB
1250     1:
1251     2:
1252     3:
1253     4:
1254     5:
1255     6:
1256     7:
1257     8:
1258     9:
1259     10:
1260     11:
1261     12:
1262     13:
1263     14:
1264    
1265 ph10 162 /^[\x{100}\E-\Q\E\x{150}]/BZ8
1266 nigel 93 ------------------------------------------------------------------
1267 ph10 192 Bra
1268 ph10 162 ^
1269     [\x{100}-\x{150}]
1270     Ket
1271     End
1272 nigel 93 ------------------------------------------------------------------
1273    
1274 ph10 162 /^[\QĀ\E-\QŐ\E]/BZ8
1275 nigel 93 ------------------------------------------------------------------
1276 ph10 192 Bra
1277 ph10 162 ^
1278     [\x{100}-\x{150}]
1279     Ket
1280     End
1281 nigel 93 ------------------------------------------------------------------
1282    
1283 ph10 162 /^[\QĀ\E-\QŐ\E/BZ8
1284 nigel 93 Failed: missing terminating ] for character class at offset 15
1285    
1286     /^abc./mgx8<any>
1287     abc1 \x0aabc2 \x0babc3xx \x0cabc4 \x0dabc5xx \x0d\x0aabc6 \x{0085}abc7 \x{2028}abc8 \x{2029}abc9 JUNK
1288     0: abc1
1289     0: abc2
1290     0: abc3
1291     0: abc4
1292     0: abc5
1293     0: abc6
1294     0: abc7
1295     0: abc8
1296     0: abc9
1297    
1298     /abc.$/mgx8<any>
1299     abc1\x0a abc2\x0b abc3\x0c abc4\x0d abc5\x0d\x0a abc6\x{0085} abc7\x{2028} abc8\x{2029} abc9
1300     0: abc1
1301     0: abc2
1302     0: abc3
1303     0: abc4
1304     0: abc5
1305     0: abc6
1306     0: abc7
1307     0: abc8
1308     0: abc9
1309    
1310 ph10 247 /^a\Rb/8<bsr_unicode>
1311 nigel 93 a\nb
1312     0: a\x{0a}b
1313     a\rb
1314     0: a\x{0d}b
1315     a\r\nb
1316     0: a\x{0d}\x{0a}b
1317     a\x0bb
1318     0: a\x{0b}b
1319     a\x0cb
1320     0: a\x{0c}b
1321     a\x{85}b
1322     0: a\x{85}b
1323     a\x{2028}b
1324     0: a\x{2028}b
1325     a\x{2029}b
1326     0: a\x{2029}b
1327     ** Failers
1328     No match
1329     a\n\rb
1330     No match
1331    
1332 ph10 247 /^a\R*b/8<bsr_unicode>
1333 nigel 93 ab
1334     0: ab
1335     a\nb
1336     0: a\x{0a}b
1337     a\rb
1338     0: a\x{0d}b
1339     a\r\nb
1340     0: a\x{0d}\x{0a}b
1341     a\x0bb
1342     0: a\x{0b}b
1343     a\x0c\x{2028}\x{2029}b
1344     0: a\x{0c}\x{2028}\x{2029}b
1345     a\x{85}b
1346     0: a\x{85}b
1347     a\n\rb
1348     0: a\x{0a}\x{0d}b
1349     a\n\r\x{85}\x0cb
1350     0: a\x{0a}\x{0d}\x{85}\x{0c}b
1351    
1352 ph10 247 /^a\R+b/8<bsr_unicode>
1353 nigel 93 a\nb
1354     0: a\x{0a}b
1355     a\rb
1356     0: a\x{0d}b
1357     a\r\nb
1358     0: a\x{0d}\x{0a}b
1359     a\x0bb
1360     0: a\x{0b}b
1361     a\x0c\x{2028}\x{2029}b
1362     0: a\x{0c}\x{2028}\x{2029}b
1363     a\x{85}b
1364     0: a\x{85}b
1365     a\n\rb
1366     0: a\x{0a}\x{0d}b
1367     a\n\r\x{85}\x0cb
1368     0: a\x{0a}\x{0d}\x{85}\x{0c}b
1369     ** Failers
1370     No match
1371     ab
1372     No match
1373    
1374 ph10 247 /^a\R{1,3}b/8<bsr_unicode>
1375 nigel 93 a\nb
1376     0: a\x{0a}b
1377     a\n\rb
1378     0: a\x{0a}\x{0d}b
1379     a\n\r\x{85}b
1380     0: a\x{0a}\x{0d}\x{85}b
1381     a\r\n\r\nb
1382     0: a\x{0d}\x{0a}\x{0d}\x{0a}b
1383     a\r\n\r\n\r\nb
1384     0: a\x{0d}\x{0a}\x{0d}\x{0a}\x{0d}\x{0a}b
1385     a\n\r\n\rb
1386     0: a\x{0a}\x{0d}\x{0a}\x{0d}b
1387     a\n\n\r\nb
1388     0: a\x{0a}\x{0a}\x{0d}\x{0a}b
1389     ** Failers
1390     No match
1391     a\n\n\n\rb
1392     No match
1393     a\r
1394     No match
1395    
1396 ph10 178 /\H\h\V\v/8
1397     X X\x0a
1398     0: X X\x{0a}
1399     X\x09X\x0b
1400     0: X\x{09}X\x{0b}
1401     ** Failers
1402     No match
1403     \x{a0} X\x0a
1404     No match
1405    
1406     /\H*\h+\V?\v{3,4}/8
1407     \x09\x20\x{a0}X\x0a\x0b\x0c\x0d\x0a
1408     0: \x{09} \x{a0}X\x{0a}\x{0b}\x{0c}\x{0d}
1409     \x09\x20\x{a0}\x0a\x0b\x0c\x0d\x0a
1410     0: \x{09} \x{a0}\x{0a}\x{0b}\x{0c}\x{0d}
1411     \x09\x20\x{a0}\x0a\x0b\x0c
1412     0: \x{09} \x{a0}\x{0a}\x{0b}\x{0c}
1413     ** Failers
1414     No match
1415     \x09\x20\x{a0}\x0a\x0b
1416     No match
1417    
1418     /\H\h\V\v/8
1419     \x{3001}\x{3000}\x{2030}\x{2028}
1420     0: \x{3001}\x{3000}\x{2030}\x{2028}
1421     X\x{180e}X\x{85}
1422     0: X\x{180e}X\x{85}
1423     ** Failers
1424     No match
1425     \x{2009} X\x0a
1426     No match
1427    
1428     /\H*\h+\V?\v{3,4}/8
1429     \x{1680}\x{180e}\x{2007}X\x{2028}\x{2029}\x0c\x0d\x0a
1430     0: \x{1680}\x{180e}\x{2007}X\x{2028}\x{2029}\x{0c}\x{0d}
1431     \x09\x{205f}\x{a0}\x0a\x{2029}\x0c\x{2028}\x0a
1432     0: \x{09}\x{205f}\x{a0}\x{0a}\x{2029}\x{0c}\x{2028}
1433     \x09\x20\x{202f}\x0a\x0b\x0c
1434     0: \x{09} \x{202f}\x{0a}\x{0b}\x{0c}
1435     ** Failers
1436     No match
1437     \x09\x{200a}\x{a0}\x{2028}\x0b
1438     No match
1439    
1440     /[\h]/8BZ
1441     ------------------------------------------------------------------
1442 ph10 192 Bra
1443 ph10 178 [\x09 \xa0\x{1680}\x{180e}\x{2000}-\x{200a}\x{202f}\x{205f}\x{3000}]
1444     Ket
1445     End
1446     ------------------------------------------------------------------
1447     >\x{1680}
1448     0: \x{1680}
1449    
1450     /[\h]{3,}/8BZ
1451     ------------------------------------------------------------------
1452 ph10 192 Bra
1453 ph10 178 [\x09 \xa0\x{1680}\x{180e}\x{2000}-\x{200a}\x{202f}\x{205f}\x{3000}]{3,}
1454     Ket
1455     End
1456     ------------------------------------------------------------------
1457     >\x{1680}\x{180e}\x{2000}\x{2003}\x{200a}\x{202f}\x{205f}\x{3000}<
1458     0: \x{1680}\x{180e}\x{2000}\x{2003}\x{200a}\x{202f}\x{205f}\x{3000}
1459    
1460     /[\v]/8BZ
1461     ------------------------------------------------------------------
1462 ph10 192 Bra
1463 ph10 178 [\x0a-\x0d\x85\x{2028}-\x{2029}]
1464     Ket
1465     End
1466     ------------------------------------------------------------------
1467    
1468     /[\H]/8BZ
1469     ------------------------------------------------------------------
1470 ph10 192 Bra
1471 ph10 178 [\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}]
1472     Ket
1473     End
1474     ------------------------------------------------------------------
1475    
1476     /[\V]/8BZ
1477     ------------------------------------------------------------------
1478 ph10 192 Bra
1479 ph10 178 [\x00-\x09\x0e-\x84\x86-\xff\x{100}-\x{2027}\x{2029}-\x{7fffffff}]
1480     Ket
1481     End
1482     ------------------------------------------------------------------
1483    
1484 ph10 190 /.*$/8<any>
1485     \x{1ec5}
1486     0: \x{1ec5}
1487 ph10 211
1488     /-- This tests the stricter UTF-8 check according to RFC 3629. --/
1489    
1490     /X/8
1491     \x{0}\x{d7ff}\x{e000}\x{10ffff}
1492     No match
1493     \x{d800}
1494     Error -10
1495     \x{d800}\?
1496     No match
1497     \x{da00}
1498     Error -10
1499     \x{da00}\?
1500     No match
1501     \x{dfff}
1502     Error -10
1503     \x{dfff}\?
1504     No match
1505     \x{110000}
1506     Error -10
1507     \x{110000}\?
1508     No match
1509     \x{2000000}
1510     Error -10
1511     \x{2000000}\?
1512     No match
1513     \x{7fffffff}
1514     Error -10
1515     \x{7fffffff}\?
1516     No match
1517 ph10 190
1518 ph10 231 /a\Rb/I8<bsr_anycrlf>
1519     Capturing subpattern count = 0
1520     Options: bsr_anycrlf utf8
1521     First char = 'a'
1522     Need char = 'b'
1523     a\rb
1524     0: a\x{0d}b
1525     a\nb
1526     0: a\x{0a}b
1527     a\r\nb
1528     0: a\x{0d}\x{0a}b
1529     ** Failers
1530     No match
1531     a\x{85}b
1532     No match
1533     a\x0bb
1534     No match
1535    
1536     /a\Rb/I8<bsr_unicode>
1537     Capturing subpattern count = 0
1538     Options: bsr_unicode utf8
1539     First char = 'a'
1540     Need char = 'b'
1541     a\rb
1542     0: a\x{0d}b
1543     a\nb
1544     0: a\x{0a}b
1545     a\r\nb
1546     0: a\x{0d}\x{0a}b
1547     a\x{85}b
1548     0: a\x{85}b
1549     a\x0bb
1550     0: a\x{0b}b
1551     ** Failers
1552     No match
1553     a\x{85}b\<bsr_anycrlf>
1554     No match
1555     a\x0bb\<bsr_anycrlf>
1556     No match
1557    
1558     /a\R?b/I8<bsr_anycrlf>
1559     Capturing subpattern count = 0
1560     Options: bsr_anycrlf utf8
1561     First char = 'a'
1562     Need char = 'b'
1563     a\rb
1564     0: a\x{0d}b
1565     a\nb
1566     0: a\x{0a}b
1567     a\r\nb
1568     0: a\x{0d}\x{0a}b
1569     ** Failers
1570     No match
1571     a\x{85}b
1572     No match
1573     a\x0bb
1574     No match
1575    
1576     /a\R?b/I8<bsr_unicode>
1577     Capturing subpattern count = 0
1578     Options: bsr_unicode utf8
1579     First char = 'a'
1580     Need char = 'b'
1581     a\rb
1582     0: a\x{0d}b
1583     a\nb
1584     0: a\x{0a}b
1585     a\r\nb
1586     0: a\x{0d}\x{0a}b
1587     a\x{85}b
1588     0: a\x{85}b
1589     a\x0bb
1590     0: a\x{0b}b
1591     ** Failers
1592     No match
1593     a\x{85}b\<bsr_anycrlf>
1594     No match
1595     a\x0bb\<bsr_anycrlf>
1596     No match
1597    
1598 ph10 294 /.*a.*=.b.*/8<ANY>
1599     QQQ\x{2029}ABCaXYZ=!bPQR
1600     0: ABCaXYZ=!bPQR
1601     ** Failers
1602     No match
1603     a\x{2029}b
1604     No match
1605     \x61\xe2\x80\xa9\x62
1606     No match
1607    
1608 ph10 295 /[[:a\x{100}b:]]/8
1609     Failed: unknown POSIX class name at offset 3
1610    
1611 ph10 341 /a[^]b/<JS>8
1612     a\x{1234}b
1613     0: a\x{1234}b
1614     a\nb
1615     0: a\x{0a}b
1616     ** Failers
1617     No match
1618     ab
1619     No match
1620    
1621     /a[^]+b/<JS>8
1622     aXb
1623     0: aXb
1624     a\nX\nX\x{1234}b
1625     0: a\x{0a}X\x{0a}X\x{1234}b
1626     ** Failers
1627     No match
1628     ab
1629     No match
1630    
1631 nigel 49 / End of testinput5 /

Properties

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

webmaster@exim.org
ViewVC Help
Powered by ViewVC 1.1.12