/[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 826 by zherczeg, Tue Dec 27 09:42:33 2011 UTC code/trunk/testdata/testoutput17 revision 1055 by chpe, Tue Oct 16 15:53:30 2012 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 or -32) features
2      that are not compatible with the 8-bit library, or which give different      that are not compatible with the 8-bit library, or which give different
3      output in 16-bit mode. --/      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  
 ** Character \x{ffff} is greater than 255.  
 ** Because its input is first processed as 8-bit, pcretest does not  
 ** support such characters in 16-bit mode when UTF-16 is not set.  
 ** Truncation will probably give the wrong result.  
 No match  
   
 /\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 244  Starting byte set: \x09 \x20 ! " # $ % & Line 231  Starting byte set: \x09 \x20 ! " # $ % &
231    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
232    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
233    
234  /\h/SI  /[\h]/BZ
235    ------------------------------------------------------------------
236            Bra
237            [\x09 \xa0\x{1680}\x{180e}\x{2000}-\x{200a}\x{202f}\x{205f}\x{3000}]
238            Ket
239            End
240    ------------------------------------------------------------------
241        >\x09<
242     0: \x09
243    
244    /[\h]+/BZ
245    ------------------------------------------------------------------
246            Bra
247            [\x09 \xa0\x{1680}\x{180e}\x{2000}-\x{200a}\x{202f}\x{205f}\x{3000}]+
248            Ket
249            End
250    ------------------------------------------------------------------
251        >\x09\x20\xa0<
252     0: \x09 \xa0
253    
254    /[\v]/BZ
255    ------------------------------------------------------------------
256            Bra
257            [\x0a-\x0d\x85\x{2028}-\x{2029}]
258            Ket
259            End
260    ------------------------------------------------------------------
261    
262    /[\H]/BZ
263    ------------------------------------------------------------------
264            Bra
265            [\x00-\x08\x0a-\x1f!-\x9f\x{a1}-\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}]
266            Ket
267            End
268    ------------------------------------------------------------------
269    
270    /[^\h]/BZ
271    ------------------------------------------------------------------
272            Bra
273            [^\x09 \xa0\x{1680}\x{180e}\x{2000}-\x{200a}\x{202f}\x{205f}\x{3000}]
274            Ket
275            End
276    ------------------------------------------------------------------
277    
278    /[\V]/BZ
279    ------------------------------------------------------------------
280            Bra
281            [\x00-\x09\x0e-\x84\x{86}-\x{2027}\x{202a}-\x{ffff}]
282            Ket
283            End
284    ------------------------------------------------------------------
285    
286    /[\x0a\V]/BZ
287    ------------------------------------------------------------------
288            Bra
289            [\x00-\x0a\x0e-\x84\x{86}-\x{2027}\x{202a}-\x{ffff}]
290            Ket
291            End
292    ------------------------------------------------------------------
293    
294    /\h+/SI
295  Capturing subpattern count = 0  Capturing subpattern count = 0
296  No options  No options
297  No first char  No first char
298  No need char  No need char
299  Subject length lower bound = 1  Subject length lower bound = 1
300  Starting byte set: \x09 \x20 \xa0 \xff  Starting byte set: \x09 \x20 \xa0 \xff
301        \x{1681}\x{200b}\x{1680}\x{2000}\x{202f}\x{3000}
302     0: \x{1680}\x{2000}\x{202f}\x{3000}
303        \x{3001}\x{2fff}\x{200a}\xa0\x{2000}
304     0: \x{200a}\xa0\x{2000}
305    
306  /\v/SI  /[\h\x{dc00}]+/BZSI
307    ------------------------------------------------------------------
308            Bra
309            [\x09 \xa0\x{1680}\x{180e}\x{2000}-\x{200a}\x{202f}\x{205f}\x{3000}\x{dc00}]+
310            Ket
311            End
312    ------------------------------------------------------------------
313    Capturing subpattern count = 0
314    No options
315    No first char
316    No need char
317    Subject length lower bound = 1
318    No set of starting bytes
319        \x{1681}\x{200b}\x{1680}\x{2000}\x{202f}\x{3000}
320     0: \x{1680}\x{2000}\x{202f}\x{3000}
321        \x{3001}\x{2fff}\x{200a}\xa0\x{2000}
322     0: \x{200a}\xa0\x{2000}
323    
324    /\H+/SI
325    Capturing subpattern count = 0
326    No options
327    No first char
328    No need char
329    Subject length lower bound = 1
330    No set of starting bytes
331        \x{1680}\x{180e}\x{167f}\x{1681}\x{180d}\x{180f}
332     0: \x{167f}\x{1681}\x{180d}\x{180f}
333        \x{2000}\x{200a}\x{1fff}\x{200b}
334     0: \x{1fff}\x{200b}
335        \x{202f}\x{205f}\x{202e}\x{2030}\x{205e}\x{2060}
336     0: \x{202e}\x{2030}\x{205e}\x{2060}
337        \xa0\x{3000}\x9f\xa1\x{2fff}\x{3001}
338     0: \x9f\xa1\x{2fff}\x{3001}
339    
340    /[\H\x{d800}]+/BZSI
341    ------------------------------------------------------------------
342            Bra
343            [\x00-\x08\x0a-\x1f!-\x9f\x{a1}-\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}\x{d800}]+
344            Ket
345            End
346    ------------------------------------------------------------------
347    Capturing subpattern count = 0
348    No options
349    No first char
350    No need char
351    Subject length lower bound = 1
352    No set of starting bytes
353        \x{1680}\x{180e}\x{167f}\x{1681}\x{180d}\x{180f}
354     0: \x{167f}\x{1681}\x{180d}\x{180f}
355        \x{2000}\x{200a}\x{1fff}\x{200b}
356     0: \x{1fff}\x{200b}
357        \x{202f}\x{205f}\x{202e}\x{2030}\x{205e}\x{2060}
358     0: \x{202e}\x{2030}\x{205e}\x{2060}
359        \xa0\x{3000}\x9f\xa1\x{2fff}\x{3001}
360     0: \x9f\xa1\x{2fff}\x{3001}
361    
362    /\v+/SI
363  Capturing subpattern count = 0  Capturing subpattern count = 0
364  No options  No options
365  No first char  No first char
366  No need char  No need char
367  Subject length lower bound = 1  Subject length lower bound = 1
368  Starting byte set: \x0a \x0b \x0c \x0d \x85 \xff  Starting byte set: \x0a \x0b \x0c \x0d \x85 \xff
369        \x{2027}\x{2030}\x{2028}\x{2029}
370     0: \x{2028}\x{2029}
371        \x09\x0e\x84\x86\x85\x0a\x0b\x0c\x0d
372     0: \x85\x0a\x0b\x0c\x0d
373    
374  /\R/SI  /[\v\x{dc00}]+/BZSI
375    ------------------------------------------------------------------
376            Bra
377            [\x0a-\x0d\x85\x{2028}-\x{2029}\x{dc00}]+
378            Ket
379            End
380    ------------------------------------------------------------------
381  Capturing subpattern count = 0  Capturing subpattern count = 0
382  No options  No options
383  No first char  No first char
384  No need char  No need char
385  Subject length lower bound = 1  Subject length lower bound = 1
386    No set of starting bytes
387        \x{2027}\x{2030}\x{2028}\x{2029}
388     0: \x{2028}\x{2029}
389        \x09\x0e\x84\x86\x85\x0a\x0b\x0c\x0d
390     0: \x85\x0a\x0b\x0c\x0d
391    
392    /\V+/SI
393    Capturing subpattern count = 0
394    No options
395    No first char
396    No need char
397    Subject length lower bound = 1
398    No set of starting bytes
399        \x{2028}\x{2029}\x{2027}\x{2030}
400     0: \x{2027}\x{2030}
401        \x85\x0a\x0b\x0c\x0d\x09\x0e\x84\x86
402     0: \x09\x0e\x84\x86
403    
404    /[\V\x{d800}]+/BZSI
405    ------------------------------------------------------------------
406            Bra
407            [\x00-\x09\x0e-\x84\x{86}-\x{2027}\x{202a}-\x{ffff}\x{d800}]+
408            Ket
409            End
410    ------------------------------------------------------------------
411    Capturing subpattern count = 0
412    No options
413    No first char
414    No need char
415    Subject length lower bound = 1
416    No set of starting bytes
417        \x{2028}\x{2029}\x{2027}\x{2030}
418     0: \x{2027}\x{2030}
419        \x85\x0a\x0b\x0c\x0d\x09\x0e\x84\x86
420     0: \x09\x0e\x84\x86
421    
422    /\R+/SI<bsr_unicode>
423    Capturing subpattern count = 0
424    Options: bsr_unicode
425    No first char
426    No need char
427    Subject length lower bound = 1
428  Starting byte set: \x0a \x0b \x0c \x0d \x85 \xff  Starting byte set: \x0a \x0b \x0c \x0d \x85 \xff
429        \x{2027}\x{2030}\x{2028}\x{2029}
430     0: \x{2028}\x{2029}
431        \x09\x0e\x84\x86\x85\x0a\x0b\x0c\x0d
432     0: \x85\x0a\x0b\x0c\x0d
433    
434  /[\h]/BZ  /\x{d800}\x{d7ff}\x{dc00}\x{dc00}\x{dcff}\x{dd00}/I
435    Capturing subpattern count = 0
436    No options
437    First char = \x{d800}
438    Need char = \x{dd00}
439        \x{d800}\x{d7ff}\x{dc00}\x{dc00}\x{dcff}\x{dd00}
440     0: \x{d800}\x{d7ff}\x{dc00}\x{dc00}\x{dcff}\x{dd00}
441    
442    /[^\x{80}][^\x{ff}][^\x{100}][^\x{1000}][^\x{ffff}]/BZ
443  ------------------------------------------------------------------  ------------------------------------------------------------------
444          Bra          Bra
445          [\x09 \xa0\x{1680}\x{180e}\x{2000}-\x{200a}\x{202f}\x{205f}\x{3000}]          [^\x80]
446            [^\x{ff}]
447            [^\x{100}]
448            [^\x{1000}]
449            [^\x{ffff}]
450          Ket          Ket
451          End          End
452  ------------------------------------------------------------------  ------------------------------------------------------------------
     >\x09<  
  0: \x09  
453    
454  /[\h]+/BZ  /[^\x{80}][^\x{ff}][^\x{100}][^\x{1000}][^\x{ffff}]/BZi
455  ------------------------------------------------------------------  ------------------------------------------------------------------
456          Bra          Bra
457          [\x09 \xa0\x{1680}\x{180e}\x{2000}-\x{200a}\x{202f}\x{205f}\x{3000}]+       /i [^\x80]
458         /i [^\x{ff}]
459         /i [^\x{100}]
460         /i [^\x{1000}]
461         /i [^\x{ffff}]
462          Ket          Ket
463          End          End
464  ------------------------------------------------------------------  ------------------------------------------------------------------
     >\x09\x20\xa0<  
  0: \x09 \xa0  
465    
466  /[\v]/BZ  /[^\x{100}]*[^\x{1000}]+[^\x{ffff}]??[^\x{8000}]{4,}[^\x{7fff}]{2,9}?[^\x{100}]{5,6}+/BZ
467  ------------------------------------------------------------------  ------------------------------------------------------------------
468          Bra          Bra
469          [\x0a-\x0d\x85\x{2028}-\x{2029}]          [^\x{100}]*
470            [^\x{1000}]+
471            [^\x{ffff}]??
472            [^\x{8000}]{4}
473            [^\x{8000}]*
474            [^\x{7fff}]{2}
475            [^\x{7fff}]{0,7}?
476            [^\x{100}]{5}
477            [^\x{100}]?+
478          Ket          Ket
479          End          End
480  ------------------------------------------------------------------  ------------------------------------------------------------------
481    
482  /[\H]/BZ  /[^\x{100}]*[^\x{1000}]+[^\x{ffff}]??[^\x{8000}]{4,}[^\x{7fff}]{2,9}?[^\x{100}]{5,6}+/BZi
483  ------------------------------------------------------------------  ------------------------------------------------------------------
484          Bra          Bra
485          [\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}]*
486         /i [^\x{1000}]+
487         /i [^\x{ffff}]??
488         /i [^\x{8000}]{4}
489         /i [^\x{8000}]*
490         /i [^\x{7fff}]{2}
491         /i [^\x{7fff}]{0,7}?
492            Once
493         /i [^\x{100}]{5}
494         /i [^\x{100}]?
495            Ket
496          Ket          Ket
497          End          End
498  ------------------------------------------------------------------  ------------------------------------------------------------------
499    
500  /[^\h]/BZ  /(*:0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF)XX/K
501        XX
502     0: XX
503    MK: 0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF
504    
505    /(*:0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDE)XX/K
506        XX
507     0: XX
508    MK: 0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDE
509    
510    /\u0100/<JS>BZ
511  ------------------------------------------------------------------  ------------------------------------------------------------------
512          Bra          Bra
513          [^\x09 \xa0\x{1680}\x{180e}\x{2000}-\x{200a}\x{202f}\x{205f}\x{3000}]          \x{100}
514          Ket          Ket
515          End          End
516  ------------------------------------------------------------------  ------------------------------------------------------------------
517    
518  /[\V]/BZ  /[\u0100-\u0200]/<JS>BZ
519  ------------------------------------------------------------------  ------------------------------------------------------------------
520          Bra          Bra
521          [\x00-\x09\x0e-\x84\x86-\xff\x{100}-\x{2027}\x{202a}-\x{ffff}]          [\x{100}-\x{200}]
522          Ket          Ket
523          End          End
524  ------------------------------------------------------------------  ------------------------------------------------------------------
525    
526  /[\x0a\V]/BZ  /\ud800/<JS>BZ
527  ------------------------------------------------------------------  ------------------------------------------------------------------
528          Bra          Bra
529          [\x00-\x0a\x0e-\x84\x86-\xff\x{100}-\x{2027}\x{202a}-\x{ffff}]          \x{d800}
530          Ket          Ket
531          End          End
532  ------------------------------------------------------------------  ------------------------------------------------------------------

Legend:
Removed from v.826  
changed lines
  Added in v.1055

  ViewVC Help
Powered by ViewVC 1.1.5