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

Diff of /code/trunk/testdata/testoutput17

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

code/branches/pcre16/testdata/testoutput17 revision 827 by ph10, Tue Dec 27 10:51:09 2011 UTC code/trunk/testdata/testoutput17 revision 1382 by zherczeg, Fri Oct 18 07:55:07 2013 UTC
# Line 1  Line 1 
1  /-- This set of tests is for the 16-bit library's basic (non-UTF-16) features  /-- This set of tests is for the 16- and 32-bit library's basic (non-UTF-16
2      that are not compatible with the 8-bit library, or which give different      or -32) features that are not compatible with the 8-bit library, or which
3      output in 16-bit mode. --/      give different output in 16- or 32-bit mode. --/
4    
5  /a\Cb/  /a\Cb/
6      aXb      aXb
# Line 8  Line 8 
8      a\nb      a\nb
9   0: a\x0ab   0: a\x0ab
10    
 /-- Check maximum non-UTF character size --/  
   
 /\x{ffff}/  
     A\x{ffff}B  
  0: \x{ffff}  
   
 /\x{10000}/  
 Failed: character value in \x{...} sequence is too large at offset 8  
   
11  /[^\x{c4}]/DZ  /[^\x{c4}]/DZ
12  ------------------------------------------------------------------  ------------------------------------------------------------------
13          Bra          Bra
14          [^\xc4]          [^\x{c4}]
15          Ket          Ket
16          End          End
17  ------------------------------------------------------------------  ------------------------------------------------------------------
# Line 28  Capturing subpattern count = 0 Line 19  Capturing subpattern count = 0
19  No options  No options
20  No first char  No first char
21  No need char  No need char
   
22    
23  /\x{100}/I  /\x{100}/I
24  Capturing subpattern count = 0  Capturing subpattern count = 0
# Line 240  Starting byte set: \x09 \x20 ! " # $ % & Line 230  Starting byte set: \x09 \x20 ! " # $ % &
230    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 Z ^ _ ` a b c d e    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 Z ^ _ ` a b c d e
231    f g h i j k l m n o p q r s t u v w x y z { | } ~ \x7f \xff    f g h i j k l m n o p q r s t u v w x y z { | } ~ \x7f \xff
232    
233  <testdata/saved8  /[\h]/BZ
234  Compiled pattern loaded from testdata/saved8  ------------------------------------------------------------------
235  No study data          Bra
236  Error -28 from pcre16_fullinfo(0)          [\x09 \xa0\x{1680}\x{180e}\x{2000}-\x{200a}\x{202f}\x{205f}\x{3000}]
237  Running in 16-bit mode but pattern was compiled in 8-bit mode          Ket
238            End
239    ------------------------------------------------------------------
240        >\x09<
241     0: \x09
242    
243  /\h/SI  /[\h]+/BZ
244    ------------------------------------------------------------------
245            Bra
246            [\x09 \xa0\x{1680}\x{180e}\x{2000}-\x{200a}\x{202f}\x{205f}\x{3000}]++
247            Ket
248            End
249    ------------------------------------------------------------------
250        >\x09\x20\xa0<
251     0: \x09 \xa0
252    
253    /[\v]/BZ
254    ------------------------------------------------------------------
255            Bra
256            [\x0a-\x0d\x85\x{2028}-\x{2029}]
257            Ket
258            End
259    ------------------------------------------------------------------
260    
261    /[^\h]/BZ
262    ------------------------------------------------------------------
263            Bra
264            [^\x09 \xa0\x{1680}\x{180e}\x{2000}-\x{200a}\x{202f}\x{205f}\x{3000}]
265            Ket
266            End
267    ------------------------------------------------------------------
268    
269    /\h+/SI
270  Capturing subpattern count = 0  Capturing subpattern count = 0
271  No options  No options
272  No first char  No first char
273  No need char  No need char
274  Subject length lower bound = 1  Subject length lower bound = 1
275  Starting byte set: \x09 \x20 \xa0 \xff  Starting byte set: \x09 \x20 \xa0 \xff
276        \x{1681}\x{200b}\x{1680}\x{2000}\x{202f}\x{3000}
277     0: \x{1680}\x{2000}\x{202f}\x{3000}
278        \x{3001}\x{2fff}\x{200a}\xa0\x{2000}
279     0: \x{200a}\xa0\x{2000}
280    
281    /[\h\x{dc00}]+/BZSI
282    ------------------------------------------------------------------
283            Bra
284            [\x09 \xa0\x{1680}\x{180e}\x{2000}-\x{200a}\x{202f}\x{205f}\x{3000}\x{dc00}]++
285            Ket
286            End
287    ------------------------------------------------------------------
288    Capturing subpattern count = 0
289    No options
290    No first char
291    No need char
292    Subject length lower bound = 1
293    No set of starting bytes
294        \x{1681}\x{200b}\x{1680}\x{2000}\x{202f}\x{3000}
295     0: \x{1680}\x{2000}\x{202f}\x{3000}
296        \x{3001}\x{2fff}\x{200a}\xa0\x{2000}
297     0: \x{200a}\xa0\x{2000}
298    
299  /\v/SI  /\H+/SI
300    Capturing subpattern count = 0
301    No options
302    No first char
303    No need char
304    Subject length lower bound = 1
305    No set of starting bytes
306        \x{1680}\x{180e}\x{167f}\x{1681}\x{180d}\x{180f}
307     0: \x{167f}\x{1681}\x{180d}\x{180f}
308        \x{2000}\x{200a}\x{1fff}\x{200b}
309     0: \x{1fff}\x{200b}
310        \x{202f}\x{205f}\x{202e}\x{2030}\x{205e}\x{2060}
311     0: \x{202e}\x{2030}\x{205e}\x{2060}
312        \xa0\x{3000}\x9f\xa1\x{2fff}\x{3001}
313     0: \x9f\xa1\x{2fff}\x{3001}
314    
315    /[\H\x{d800}]+/
316        \x{1680}\x{180e}\x{167f}\x{1681}\x{180d}\x{180f}
317     0: \x{167f}\x{1681}\x{180d}\x{180f}
318        \x{2000}\x{200a}\x{1fff}\x{200b}
319     0: \x{1fff}\x{200b}
320        \x{202f}\x{205f}\x{202e}\x{2030}\x{205e}\x{2060}
321     0: \x{202e}\x{2030}\x{205e}\x{2060}
322        \xa0\x{3000}\x9f\xa1\x{2fff}\x{3001}
323     0: \x9f\xa1\x{2fff}\x{3001}
324    
325    /\v+/SI
326  Capturing subpattern count = 0  Capturing subpattern count = 0
327  No options  No options
328  No first char  No first char
329  No need char  No need char
330  Subject length lower bound = 1  Subject length lower bound = 1
331  Starting byte set: \x0a \x0b \x0c \x0d \x85 \xff  Starting byte set: \x0a \x0b \x0c \x0d \x85 \xff
332        \x{2027}\x{2030}\x{2028}\x{2029}
333     0: \x{2028}\x{2029}
334        \x09\x0e\x84\x86\x85\x0a\x0b\x0c\x0d
335     0: \x85\x0a\x0b\x0c\x0d
336    
337    /[\v\x{dc00}]+/BZSI
338    ------------------------------------------------------------------
339            Bra
340            [\x0a-\x0d\x85\x{2028}-\x{2029}\x{dc00}]++
341            Ket
342            End
343    ------------------------------------------------------------------
344    Capturing subpattern count = 0
345    No options
346    No first char
347    No need char
348    Subject length lower bound = 1
349    No set of starting bytes
350        \x{2027}\x{2030}\x{2028}\x{2029}
351     0: \x{2028}\x{2029}
352        \x09\x0e\x84\x86\x85\x0a\x0b\x0c\x0d
353     0: \x85\x0a\x0b\x0c\x0d
354    
355  /\R/SI  /\V+/SI
356  Capturing subpattern count = 0  Capturing subpattern count = 0
357  No options  No options
358  No first char  No first char
359  No need char  No need char
360  Subject length lower bound = 1  Subject length lower bound = 1
361    No set of starting bytes
362        \x{2028}\x{2029}\x{2027}\x{2030}
363     0: \x{2027}\x{2030}
364        \x85\x0a\x0b\x0c\x0d\x09\x0e\x84\x86
365     0: \x09\x0e\x84\x86
366    
367    /[\V\x{d800}]+/
368        \x{2028}\x{2029}\x{2027}\x{2030}
369     0: \x{2027}\x{2030}
370        \x85\x0a\x0b\x0c\x0d\x09\x0e\x84\x86
371     0: \x09\x0e\x84\x86
372    
373    /\R+/SI<bsr_unicode>
374    Capturing subpattern count = 0
375    Options: bsr_unicode
376    No first char
377    No need char
378    Subject length lower bound = 1
379  Starting byte set: \x0a \x0b \x0c \x0d \x85 \xff  Starting byte set: \x0a \x0b \x0c \x0d \x85 \xff
380        \x{2027}\x{2030}\x{2028}\x{2029}
381     0: \x{2028}\x{2029}
382        \x09\x0e\x84\x86\x85\x0a\x0b\x0c\x0d
383     0: \x85\x0a\x0b\x0c\x0d
384    
385  /[\h]/BZ  /\x{d800}\x{d7ff}\x{dc00}\x{dc00}\x{dcff}\x{dd00}/I
386    Capturing subpattern count = 0
387    No options
388    First char = \x{d800}
389    Need char = \x{dd00}
390        \x{d800}\x{d7ff}\x{dc00}\x{dc00}\x{dcff}\x{dd00}
391     0: \x{d800}\x{d7ff}\x{dc00}\x{dc00}\x{dcff}\x{dd00}
392    
393    /[^\x{80}][^\x{ff}][^\x{100}][^\x{1000}][^\x{ffff}]/BZ
394  ------------------------------------------------------------------  ------------------------------------------------------------------
395          Bra          Bra
396          [\x09 \xa0\x{1680}\x{180e}\x{2000}-\x{200a}\x{202f}\x{205f}\x{3000}]          [^\x80]
397            [^\x{ff}]
398            [^\x{100}]
399            [^\x{1000}]
400            [^\x{ffff}]
401          Ket          Ket
402          End          End
403  ------------------------------------------------------------------  ------------------------------------------------------------------
     >\x09<  
  0: \x09  
404    
405  /[\h]+/BZ  /[^\x{80}][^\x{ff}][^\x{100}][^\x{1000}][^\x{ffff}]/BZi
406  ------------------------------------------------------------------  ------------------------------------------------------------------
407          Bra          Bra
408          [\x09 \xa0\x{1680}\x{180e}\x{2000}-\x{200a}\x{202f}\x{205f}\x{3000}]+       /i [^\x80]
409         /i [^\x{ff}]
410         /i [^\x{100}]
411         /i [^\x{1000}]
412         /i [^\x{ffff}]
413          Ket          Ket
414          End          End
415  ------------------------------------------------------------------  ------------------------------------------------------------------
     >\x09\x20\xa0<  
  0: \x09 \xa0  
416    
417  /[\v]/BZ  /[^\x{100}]*[^\x{1000}]+[^\x{ffff}]??[^\x{8000}]{4,}[^\x{7fff}]{2,9}?[^\x{100}]{5,6}+/BZ
418  ------------------------------------------------------------------  ------------------------------------------------------------------
419          Bra          Bra
420          [\x0a-\x0d\x85\x{2028}-\x{2029}]          [^\x{100}]*
421            [^\x{1000}]+
422            [^\x{ffff}]??
423            [^\x{8000}]{4}
424            [^\x{8000}]*
425            [^\x{7fff}]{2}
426            [^\x{7fff}]{0,7}?
427            [^\x{100}]{5}
428            [^\x{100}]?+
429          Ket          Ket
430          End          End
431  ------------------------------------------------------------------  ------------------------------------------------------------------
432    
433  /[\H]/BZ  /[^\x{100}]*[^\x{1000}]+[^\x{ffff}]??[^\x{8000}]{4,}[^\x{7fff}]{2,9}?[^\x{100}]{5,6}+/BZi
434  ------------------------------------------------------------------  ------------------------------------------------------------------
435          Bra          Bra
436          [\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{ffff}]       /i [^\x{100}]*
437         /i [^\x{1000}]+
438         /i [^\x{ffff}]??
439         /i [^\x{8000}]{4}
440         /i [^\x{8000}]*
441         /i [^\x{7fff}]{2}
442         /i [^\x{7fff}]{0,7}?
443         /i [^\x{100}]{5}
444         /i [^\x{100}]?+
445          Ket          Ket
446          End          End
447  ------------------------------------------------------------------  ------------------------------------------------------------------
448    
449  /[^\h]/BZ  /(*:0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF)XX/K
450        XX
451     0: XX
452    MK: 0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF
453    
454    /(*:0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDE)XX/K
455        XX
456     0: XX
457    MK: 0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDE
458    
459    /\u0100/<JS>BZ
460  ------------------------------------------------------------------  ------------------------------------------------------------------
461          Bra          Bra
462          [^\x09 \xa0\x{1680}\x{180e}\x{2000}-\x{200a}\x{202f}\x{205f}\x{3000}]          \x{100}
463            Ket
464            End
465    ------------------------------------------------------------------
466    
467    /[\u0100-\u0200]/<JS>BZ
468    ------------------------------------------------------------------
469            Bra
470            [\x{100}-\x{200}]
471            Ket
472            End
473    ------------------------------------------------------------------
474    
475    /\ud800/<JS>BZ
476    ------------------------------------------------------------------
477            Bra
478            \x{d800}
479            Ket
480            End
481    ------------------------------------------------------------------
482    
483    /^\x{ffff}+/i
484        \x{ffff}
485     0: \x{ffff}
486    
487    /^\x{ffff}?/i
488        \x{ffff}
489     0: \x{ffff}
490    
491    /^\x{ffff}*/i
492        \x{ffff}
493     0: \x{ffff}
494    
495    /^\x{ffff}{3}/i
496        \x{ffff}\x{ffff}\x{ffff}
497     0: \x{ffff}\x{ffff}\x{ffff}
498    
499    /^\x{ffff}{0,3}/i
500        \x{ffff}
501     0: \x{ffff}
502    
503    /[^\x00-a]{12,}[^b-\xff]*/BZ
504    ------------------------------------------------------------------
505            Bra
506            [b-\xff] (neg){12,}
507            [\x00-a] (neg)*+
508          Ket          Ket
509          End          End
510  ------------------------------------------------------------------  ------------------------------------------------------------------
511    
512  /[\V]/BZ  /[^\s]*\s* [^\W]+\W+ [^\d]*?\d0 [^\d\w]{4,6}?\w*A/BZ
513  ------------------------------------------------------------------  ------------------------------------------------------------------
514          Bra          Bra
515          [\x00-\x09\x0e-\x84\x86-\xff\x{100}-\x{2027}\x{202a}-\x{ffff}]          [\x00-\x08\x0e-\x1f!-\xff] (neg)*
516            \s*
517    
518            [0-9A-Z_a-z]++
519            \W+
520    
521            [\x00-/:-\xff] (neg)*?
522            \d
523            0
524            [\x00-/:-@[-^`{-\xff] (neg){4,6}?
525            \w*
526            A
527          Ket          Ket
528          End          End
529  ------------------------------------------------------------------  ------------------------------------------------------------------
530    
531  /[\x0a\V]/BZ  /a*[b-\x{200}]?a#a*[b-\x{200}]?b#[a-f]*[g-\x{200}]*#[g-\x{200}]*[a-c]*#[g-\x{200}]*[a-h]*/BZ
532  ------------------------------------------------------------------  ------------------------------------------------------------------
533          Bra          Bra
534          [\x00-\x0a\x0e-\x84\x86-\xff\x{100}-\x{2027}\x{202a}-\x{ffff}]          a*
535            [b-\x{200}]?+
536            a#
537            a*+
538            [b-\x{200}]?
539            b#
540            [a-f]*
541            [g-\x{200}]*+
542            #
543            [g-\x{200}]*
544            [a-c]*+
545            #
546            [g-\x{200}]*
547            [a-h]*+
548          Ket          Ket
549          End          End
550  ------------------------------------------------------------------  ------------------------------------------------------------------

Legend:
Removed from v.827  
changed lines
  Added in v.1382

  ViewVC Help
Powered by ViewVC 1.1.5