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

Contents of /code/trunk/testdata/testoutput10

Parent Directory Parent Directory | Revision Log Revision Log


Revision 621 - (show annotations) (download)
Mon Jul 18 10:14:09 2011 UTC (3 years, 2 months ago) by ph10
File size: 19699 byte(s)
Remove atomic from single repeats; convert possessive atomic to possessive 
non-atomic (because they are the same).

1 /-- These are a few representative patterns whose lengths and offsets are to be
2 shown when the link size is 2. This is just a doublecheck test to ensure the
3 sizes don't go horribly wrong when something is changed. The pattern contents
4 are all themselves checked in other tests. Unicode, including property support,
5 is required for these tests. --/
6
7 /((?i)b)/BM
8 Memory allocation (code space): 17
9 ------------------------------------------------------------------
10 0 13 Bra
11 3 7 CBra 1
12 8 /i b
13 10 7 Ket
14 13 13 Ket
15 16 End
16 ------------------------------------------------------------------
17
18 /(?s)(.*X|^B)/BM
19 Memory allocation (code space): 25
20 ------------------------------------------------------------------
21 0 21 Bra
22 3 9 CBra 1
23 8 AllAny*
24 10 X
25 12 6 Alt
26 15 ^
27 16 B
28 18 15 Ket
29 21 21 Ket
30 24 End
31 ------------------------------------------------------------------
32
33 /(?s:.*X|^B)/BM
34 Memory allocation (code space): 23
35 ------------------------------------------------------------------
36 0 19 Bra
37 3 7 Bra
38 6 AllAny*
39 8 X
40 10 6 Alt
41 13 ^
42 14 B
43 16 13 Ket
44 19 19 Ket
45 22 End
46 ------------------------------------------------------------------
47
48 /^[[:alnum:]]/BM
49 Memory allocation (code space): 41
50 ------------------------------------------------------------------
51 0 37 Bra
52 3 ^
53 4 [0-9A-Za-z]
54 37 37 Ket
55 40 End
56 ------------------------------------------------------------------
57
58 /#/IxMD
59 Memory allocation (code space): 7
60 ------------------------------------------------------------------
61 0 3 Bra
62 3 3 Ket
63 6 End
64 ------------------------------------------------------------------
65 Capturing subpattern count = 0
66 Options: extended
67 No first char
68 No need char
69
70 /a#/IxMD
71 Memory allocation (code space): 9
72 ------------------------------------------------------------------
73 0 5 Bra
74 3 a
75 5 5 Ket
76 8 End
77 ------------------------------------------------------------------
78 Capturing subpattern count = 0
79 Options: extended
80 First char = 'a'
81 No need char
82
83 /x?+/BM
84 Memory allocation (code space): 9
85 ------------------------------------------------------------------
86 0 5 Bra
87 3 x?+
88 5 5 Ket
89 8 End
90 ------------------------------------------------------------------
91
92 /x++/BM
93 Memory allocation (code space): 9
94 ------------------------------------------------------------------
95 0 5 Bra
96 3 x++
97 5 5 Ket
98 8 End
99 ------------------------------------------------------------------
100
101 /x{1,3}+/BM
102 Memory allocation (code space): 19
103 ------------------------------------------------------------------
104 0 15 Bra
105 3 9 Once
106 6 x
107 8 x{0,2}
108 12 9 Ket
109 15 15 Ket
110 18 End
111 ------------------------------------------------------------------
112
113 /(x)*+/BM
114 Memory allocation (code space): 18
115 ------------------------------------------------------------------
116 0 14 Bra
117 3 Braposzero
118 4 7 CBraPos 1
119 9 x
120 11 7 KetRpos
121 14 14 Ket
122 17 End
123 ------------------------------------------------------------------
124
125 /^((a+)(?U)([ab]+)(?-U)([bc]+)(\w*))/BM
126 Memory allocation (code space): 120
127 ------------------------------------------------------------------
128 0 116 Bra
129 3 ^
130 4 109 CBra 1
131 9 7 CBra 2
132 14 a+
133 16 7 Ket
134 19 39 CBra 3
135 24 [ab]+?
136 58 39 Ket
137 61 39 CBra 4
138 66 [bc]+
139 100 39 Ket
140 103 7 CBra 5
141 108 \w*
142 110 7 Ket
143 113 109 Ket
144 116 116 Ket
145 119 End
146 ------------------------------------------------------------------
147
148 |8J\$WE\<\.rX\+ix\[d1b\!H\#\?vV0vrK\:ZH1\=2M\>iV\;\?aPhFB\<\*vW\@QW\@sO9\}cfZA\-i\'w\%hKd6gt1UJP\,15_\#QY\$M\^Mss_U\/\]\&LK9\[5vQub\^w\[KDD\<EjmhUZ\?\.akp2dF\>qmj\;2\}YWFdYx\.Ap\]hjCPTP\(n28k\+3\;o\&WXqs\/gOXdr\$\:r\'do0\;b4c\(f_Gr\=\"\\4\)\[01T7ajQJvL\$W\~mL_sS\/4h\:x\*\[ZN\=KLs\&L5zX\/\/\>it\,o\:aU\(\;Z\>pW\&T7oP\'2K\^E\:x9\'c\[\%z\-\,64JQ5AeH_G\#KijUKghQw\^\\vea3a\?kka_G\$8\#\`\*kynsxzBLru\'\]k_\[7FrVx\}\^\=\$blx\>s\-N\%j\;D\*aZDnsw\:YKZ\%Q\.Kne9\#hP\?\+b3\(SOvL\,\^\;\&u5\@\?5C5Bhb\=m\-vEh_L15Jl\]U\)0RP6\{q\%L\^_z5E\'Dw6X\b|BM
149 Memory allocation (code space): 826
150 ------------------------------------------------------------------
151 0 822 Bra
152 3 8J$WE<.rX+ix[d1b!H#?vV0vrK:ZH1=2M>iV;?aPhFB<*vW@QW@sO9}cfZA-i'w%hKd6gt1UJP,15_#QY$M^Mss_U/]&LK9[5vQub^w[KDD<EjmhUZ?.akp2dF>qmj;2}YWFdYx.Ap]hjCPTP(n28k+3;o&WXqs/gOXdr$:r'do0;b4c(f_Gr="\4)[01T7ajQJvL$W~mL_sS/4h:x*[ZN=KLs&L5zX//>it,o:aU(;Z>pW&T7oP'2K^E:x9'c[%z-,64JQ5AeH_G#KijUKghQw^\vea3a?kka_G$8#`*kynsxzBLru']k_[7FrVx}^=$blx>s-N%j;D*aZDnsw:YKZ%Q.Kne9#hP?+b3(SOvL,^;&u5@?5C5Bhb=m-vEh_L15Jl]U)0RP6{q%L^_z5E'Dw6X
153 821 \b
154 822 822 Ket
155 825 End
156 ------------------------------------------------------------------
157
158 |\$\<\.X\+ix\[d1b\!H\#\?vV0vrK\:ZH1\=2M\>iV\;\?aPhFB\<\*vW\@QW\@sO9\}cfZA\-i\'w\%hKd6gt1UJP\,15_\#QY\$M\^Mss_U\/\]\&LK9\[5vQub\^w\[KDD\<EjmhUZ\?\.akp2dF\>qmj\;2\}YWFdYx\.Ap\]hjCPTP\(n28k\+3\;o\&WXqs\/gOXdr\$\:r\'do0\;b4c\(f_Gr\=\"\\4\)\[01T7ajQJvL\$W\~mL_sS\/4h\:x\*\[ZN\=KLs\&L5zX\/\/\>it\,o\:aU\(\;Z\>pW\&T7oP\'2K\^E\:x9\'c\[\%z\-\,64JQ5AeH_G\#KijUKghQw\^\\vea3a\?kka_G\$8\#\`\*kynsxzBLru\'\]k_\[7FrVx\}\^\=\$blx\>s\-N\%j\;D\*aZDnsw\:YKZ\%Q\.Kne9\#hP\?\+b3\(SOvL\,\^\;\&u5\@\?5C5Bhb\=m\-vEh_L15Jl\]U\)0RP6\{q\%L\^_z5E\'Dw6X\b|BM
159 Memory allocation (code space): 816
160 ------------------------------------------------------------------
161 0 812 Bra
162 3 $<.X+ix[d1b!H#?vV0vrK:ZH1=2M>iV;?aPhFB<*vW@QW@sO9}cfZA-i'w%hKd6gt1UJP,15_#QY$M^Mss_U/]&LK9[5vQub^w[KDD<EjmhUZ?.akp2dF>qmj;2}YWFdYx.Ap]hjCPTP(n28k+3;o&WXqs/gOXdr$:r'do0;b4c(f_Gr="\4)[01T7ajQJvL$W~mL_sS/4h:x*[ZN=KLs&L5zX//>it,o:aU(;Z>pW&T7oP'2K^E:x9'c[%z-,64JQ5AeH_G#KijUKghQw^\vea3a?kka_G$8#`*kynsxzBLru']k_[7FrVx}^=$blx>s-N%j;D*aZDnsw:YKZ%Q.Kne9#hP?+b3(SOvL,^;&u5@?5C5Bhb=m-vEh_L15Jl]U)0RP6{q%L^_z5E'Dw6X
163 811 \b
164 812 812 Ket
165 815 End
166 ------------------------------------------------------------------
167
168 /(a(?1)b)/BM
169 Memory allocation (code space): 22
170 ------------------------------------------------------------------
171 0 18 Bra
172 3 12 CBra 1
173 8 a
174 10 3 Recurse
175 13 b
176 15 12 Ket
177 18 18 Ket
178 21 End
179 ------------------------------------------------------------------
180
181 /(a(?1)+b)/BM
182 Memory allocation (code space): 28
183 ------------------------------------------------------------------
184 0 24 Bra
185 3 18 CBra 1
186 8 a
187 10 6 Once
188 13 3 Recurse
189 16 6 KetRmax
190 19 b
191 21 18 Ket
192 24 24 Ket
193 27 End
194 ------------------------------------------------------------------
195
196 /a(?P<name1>b|c)d(?P<longername2>e)/BM
197 Memory allocation (code space): 42
198 ------------------------------------------------------------------
199 0 32 Bra
200 3 a
201 5 7 CBra 1
202 10 b
203 12 5 Alt
204 15 c
205 17 12 Ket
206 20 d
207 22 7 CBra 2
208 27 e
209 29 7 Ket
210 32 32 Ket
211 35 End
212 ------------------------------------------------------------------
213
214 /(?:a(?P<c>c(?P<d>d)))(?P<a>a)/BM
215 Memory allocation (code space): 54
216 ------------------------------------------------------------------
217 0 41 Bra
218 3 25 Bra
219 6 a
220 8 17 CBra 1
221 13 c
222 15 7 CBra 2
223 20 d
224 22 7 Ket
225 25 17 Ket
226 28 25 Ket
227 31 7 CBra 3
228 36 a
229 38 7 Ket
230 41 41 Ket
231 44 End
232 ------------------------------------------------------------------
233
234 /(?P<a>a)...(?P=a)bbb(?P>a)d/BM
235 Memory allocation (code space): 37
236 ------------------------------------------------------------------
237 0 30 Bra
238 3 7 CBra 1
239 8 a
240 10 7 Ket
241 13 Any
242 14 Any
243 15 Any
244 16 \1
245 19 bbb
246 25 3 Recurse
247 28 d
248 30 30 Ket
249 33 End
250 ------------------------------------------------------------------
251
252 /abc(?C255)de(?C)f/BM
253 Memory allocation (code space): 31
254 ------------------------------------------------------------------
255 0 27 Bra
256 3 abc
257 9 Callout 255 10 1
258 15 de
259 19 Callout 0 16 1
260 25 f
261 27 27 Ket
262 30 End
263 ------------------------------------------------------------------
264
265 /abcde/CBM
266 Memory allocation (code space): 53
267 ------------------------------------------------------------------
268 0 49 Bra
269 3 Callout 255 0 1
270 9 a
271 11 Callout 255 1 1
272 17 b
273 19 Callout 255 2 1
274 25 c
275 27 Callout 255 3 1
276 33 d
277 35 Callout 255 4 1
278 41 e
279 43 Callout 255 5 0
280 49 49 Ket
281 52 End
282 ------------------------------------------------------------------
283
284 /\x{100}/8BM
285 Memory allocation (code space): 10
286 ------------------------------------------------------------------
287 0 6 Bra
288 3 \x{100}
289 6 6 Ket
290 9 End
291 ------------------------------------------------------------------
292
293 /\x{1000}/8BM
294 Memory allocation (code space): 11
295 ------------------------------------------------------------------
296 0 7 Bra
297 3 \x{1000}
298 7 7 Ket
299 10 End
300 ------------------------------------------------------------------
301
302 /\x{10000}/8BM
303 Memory allocation (code space): 12
304 ------------------------------------------------------------------
305 0 8 Bra
306 3 \x{10000}
307 8 8 Ket
308 11 End
309 ------------------------------------------------------------------
310
311 /\x{100000}/8BM
312 Memory allocation (code space): 12
313 ------------------------------------------------------------------
314 0 8 Bra
315 3 \x{100000}
316 8 8 Ket
317 11 End
318 ------------------------------------------------------------------
319
320 /\x{1000000}/8BM
321 Memory allocation (code space): 13
322 ------------------------------------------------------------------
323 0 9 Bra
324 3 \x{1000000}
325 9 9 Ket
326 12 End
327 ------------------------------------------------------------------
328
329 /\x{4000000}/8BM
330 Memory allocation (code space): 14
331 ------------------------------------------------------------------
332 0 10 Bra
333 3 \x{4000000}
334 10 10 Ket
335 13 End
336 ------------------------------------------------------------------
337
338 /\x{7fffFFFF}/8BM
339 Memory allocation (code space): 14
340 ------------------------------------------------------------------
341 0 10 Bra
342 3 \x{7fffffff}
343 10 10 Ket
344 13 End
345 ------------------------------------------------------------------
346
347 /[\x{ff}]/8BM
348 Memory allocation (code space): 10
349 ------------------------------------------------------------------
350 0 6 Bra
351 3 \x{ff}
352 6 6 Ket
353 9 End
354 ------------------------------------------------------------------
355
356 /[\x{100}]/8BM
357 Memory allocation (code space): 15
358 ------------------------------------------------------------------
359 0 11 Bra
360 3 [\x{100}]
361 11 11 Ket
362 14 End
363 ------------------------------------------------------------------
364
365 /\x80/8BM
366 Memory allocation (code space): 10
367 ------------------------------------------------------------------
368 0 6 Bra
369 3 \x{80}
370 6 6 Ket
371 9 End
372 ------------------------------------------------------------------
373
374 /\xff/8BM
375 Memory allocation (code space): 10
376 ------------------------------------------------------------------
377 0 6 Bra
378 3 \x{ff}
379 6 6 Ket
380 9 End
381 ------------------------------------------------------------------
382
383 /\x{0041}\x{2262}\x{0391}\x{002e}/D8M
384 Memory allocation (code space): 18
385 ------------------------------------------------------------------
386 0 14 Bra
387 3 A\x{2262}\x{391}.
388 14 14 Ket
389 17 End
390 ------------------------------------------------------------------
391 Capturing subpattern count = 0
392 Options: utf8
393 First char = 'A'
394 Need char = '.'
395
396 /\x{D55c}\x{ad6d}\x{C5B4}/D8M
397 Memory allocation (code space): 19
398 ------------------------------------------------------------------
399 0 15 Bra
400 3 \x{d55c}\x{ad6d}\x{c5b4}
401 15 15 Ket
402 18 End
403 ------------------------------------------------------------------
404 Capturing subpattern count = 0
405 Options: utf8
406 First char = 237
407 Need char = 180
408
409 /\x{65e5}\x{672c}\x{8a9e}/D8M
410 Memory allocation (code space): 19
411 ------------------------------------------------------------------
412 0 15 Bra
413 3 \x{65e5}\x{672c}\x{8a9e}
414 15 15 Ket
415 18 End
416 ------------------------------------------------------------------
417 Capturing subpattern count = 0
418 Options: utf8
419 First char = 230
420 Need char = 158
421
422 /[\x{100}]/8BM
423 Memory allocation (code space): 15
424 ------------------------------------------------------------------
425 0 11 Bra
426 3 [\x{100}]
427 11 11 Ket
428 14 End
429 ------------------------------------------------------------------
430
431 /[Z\x{100}]/8BM
432 Memory allocation (code space): 47
433 ------------------------------------------------------------------
434 0 43 Bra
435 3 [Z\x{100}]
436 43 43 Ket
437 46 End
438 ------------------------------------------------------------------
439
440 /^[\x{100}\E-\Q\E\x{150}]/B8M
441 Memory allocation (code space): 18
442 ------------------------------------------------------------------
443 0 14 Bra
444 3 ^
445 4 [\x{100}-\x{150}]
446 14 14 Ket
447 17 End
448 ------------------------------------------------------------------
449
450 /^[\QĀ\E-\QŐ\E]/B8M
451 Memory allocation (code space): 18
452 ------------------------------------------------------------------
453 0 14 Bra
454 3 ^
455 4 [\x{100}-\x{150}]
456 14 14 Ket
457 17 End
458 ------------------------------------------------------------------
459
460 /^[\QĀ\E-\QŐ\E/B8M
461 Failed: missing terminating ] for character class at offset 15
462
463 /[\p{L}]/BM
464 Memory allocation (code space): 15
465 ------------------------------------------------------------------
466 0 11 Bra
467 3 [\p{L}]
468 11 11 Ket
469 14 End
470 ------------------------------------------------------------------
471
472 /[\p{^L}]/BM
473 Memory allocation (code space): 15
474 ------------------------------------------------------------------
475 0 11 Bra
476 3 [\P{L}]
477 11 11 Ket
478 14 End
479 ------------------------------------------------------------------
480
481 /[\P{L}]/BM
482 Memory allocation (code space): 15
483 ------------------------------------------------------------------
484 0 11 Bra
485 3 [\P{L}]
486 11 11 Ket
487 14 End
488 ------------------------------------------------------------------
489
490 /[\P{^L}]/BM
491 Memory allocation (code space): 15
492 ------------------------------------------------------------------
493 0 11 Bra
494 3 [\p{L}]
495 11 11 Ket
496 14 End
497 ------------------------------------------------------------------
498
499 /[abc\p{L}\x{0660}]/8BM
500 Memory allocation (code space): 50
501 ------------------------------------------------------------------
502 0 46 Bra
503 3 [a-c\p{L}\x{660}]
504 46 46 Ket
505 49 End
506 ------------------------------------------------------------------
507
508 /[\p{Nd}]/8BM
509 Memory allocation (code space): 15
510 ------------------------------------------------------------------
511 0 11 Bra
512 3 [\p{Nd}]
513 11 11 Ket
514 14 End
515 ------------------------------------------------------------------
516
517 /[\p{Nd}+-]+/8BM
518 Memory allocation (code space): 48
519 ------------------------------------------------------------------
520 0 44 Bra
521 3 [+\-\p{Nd}]+
522 44 44 Ket
523 47 End
524 ------------------------------------------------------------------
525
526 /A\x{391}\x{10427}\x{ff3a}\x{1fb0}/8iBM
527 Memory allocation (code space): 25
528 ------------------------------------------------------------------
529 0 21 Bra
530 3 /i A\x{391}\x{10427}\x{ff3a}\x{1fb0}
531 21 21 Ket
532 24 End
533 ------------------------------------------------------------------
534
535 /A\x{391}\x{10427}\x{ff3a}\x{1fb0}/8BM
536 Memory allocation (code space): 25
537 ------------------------------------------------------------------
538 0 21 Bra
539 3 A\x{391}\x{10427}\x{ff3a}\x{1fb0}
540 21 21 Ket
541 24 End
542 ------------------------------------------------------------------
543
544 /[\x{105}-\x{109}]/8iBM
545 Memory allocation (code space): 17
546 ------------------------------------------------------------------
547 0 13 Bra
548 3 [\x{104}-\x{109}]
549 13 13 Ket
550 16 End
551 ------------------------------------------------------------------
552
553 /( ( (?(1)0|) )* )/xBM
554 Memory allocation (code space): 38
555 ------------------------------------------------------------------
556 0 34 Bra
557 3 28 CBra 1
558 8 Brazero
559 9 19 SCBra 2
560 14 8 Cond
561 17 1 Cond ref
562 20 0
563 22 3 Alt
564 25 11 Ket
565 28 19 KetRmax
566 31 28 Ket
567 34 34 Ket
568 37 End
569 ------------------------------------------------------------------
570
571 /( (?(1)0|)* )/xBM
572 Memory allocation (code space): 30
573 ------------------------------------------------------------------
574 0 26 Bra
575 3 20 CBra 1
576 8 Brazero
577 9 8 SCond
578 12 1 Cond ref
579 15 0
580 17 3 Alt
581 20 11 KetRmax
582 23 20 Ket
583 26 26 Ket
584 29 End
585 ------------------------------------------------------------------
586
587 /[a]/BM
588 Memory allocation (code space): 9
589 ------------------------------------------------------------------
590 0 5 Bra
591 3 a
592 5 5 Ket
593 8 End
594 ------------------------------------------------------------------
595
596 /[a]/8BM
597 Memory allocation (code space): 9
598 ------------------------------------------------------------------
599 0 5 Bra
600 3 a
601 5 5 Ket
602 8 End
603 ------------------------------------------------------------------
604
605 /[\xaa]/BM
606 Memory allocation (code space): 9
607 ------------------------------------------------------------------
608 0 5 Bra
609 3 \xaa
610 5 5 Ket
611 8 End
612 ------------------------------------------------------------------
613
614 /[\xaa]/8BM
615 Memory allocation (code space): 10
616 ------------------------------------------------------------------
617 0 6 Bra
618 3 \x{aa}
619 6 6 Ket
620 9 End
621 ------------------------------------------------------------------
622
623 /[^a]/BM
624 Memory allocation (code space): 9
625 ------------------------------------------------------------------
626 0 5 Bra
627 3 [^a]
628 5 5 Ket
629 8 End
630 ------------------------------------------------------------------
631
632 /[^a]/8BM
633 Memory allocation (code space): 9
634 ------------------------------------------------------------------
635 0 5 Bra
636 3 [^a]
637 5 5 Ket
638 8 End
639 ------------------------------------------------------------------
640
641 /[^\xaa]/BM
642 Memory allocation (code space): 9
643 ------------------------------------------------------------------
644 0 5 Bra
645 3 [^\xaa]
646 5 5 Ket
647 8 End
648 ------------------------------------------------------------------
649
650 /[^\xaa]/8BM
651 Memory allocation (code space): 40
652 ------------------------------------------------------------------
653 0 36 Bra
654 3 [\x00-\xa9\xab-\xff] (neg)
655 36 36 Ket
656 39 End
657 ------------------------------------------------------------------
658
659 /[^\d]/8WB
660 ------------------------------------------------------------------
661 0 11 Bra
662 3 [^\p{Nd}]
663 11 11 Ket
664 14 End
665 ------------------------------------------------------------------
666
667 /[[:^alpha:][:^cntrl:]]+/8WB
668 ------------------------------------------------------------------
669 0 44 Bra
670 3 [ -~\x80-\xff\P{L}]+
671 44 44 Ket
672 47 End
673 ------------------------------------------------------------------
674
675 /[[:^cntrl:][:^alpha:]]+/8WB
676 ------------------------------------------------------------------
677 0 44 Bra
678 3 [ -~\x80-\xff\P{L}]+
679 44 44 Ket
680 47 End
681 ------------------------------------------------------------------
682
683 /[[:alpha:]]+/8WB
684 ------------------------------------------------------------------
685 0 12 Bra
686 3 [\p{L}]+
687 12 12 Ket
688 15 End
689 ------------------------------------------------------------------
690
691 /[[:^alpha:]\S]+/8WB
692 ------------------------------------------------------------------
693 0 15 Bra
694 3 [\P{L}\P{Xsp}]+
695 15 15 Ket
696 18 End
697 ------------------------------------------------------------------
698
699 /abc(d|e)(*THEN)x(123(*THEN)4|567(b|q)(*THEN)xx)/B
700 ------------------------------------------------------------------
701 0 79 Bra
702 3 abc
703 9 7 CBra 1
704 14 d
705 16 5 Alt
706 19 e
707 21 12 Ket
708 24 *THEN 24
709 27 x
710 29 16 CBra 2
711 34 123
712 40 *THEN 11
713 43 4
714 45 31 Alt
715 48 567
716 54 7 CBra 3
717 59 b
718 61 5 Alt
719 64 q
720 66 12 Ket
721 69 *THEN 24
722 72 xx
723 76 47 Ket
724 79 79 Ket
725 82 End
726 ------------------------------------------------------------------
727
728 /-- End of testinput10 --/

webmaster@exim.org
ViewVC Help
Powered by ViewVC 1.1.12