xref: /PHP-5.5/ext/pcre/pcrelib/testdata/testoutput25 (revision 23cb7bd5)
1/-- Tests for the 32-bit library only */
2
3< forbid 8W
4
5/-- Check maximum character size --/
6
7/\x{110000}/
8
9/\x{7fffffff}/
10
11/\x{80000000}/
12
13/\x{ffffffff}/
14
15/\x{100000000}/
16Failed: character value in \x{} or \o{} is too large at offset 12
17
18/\o{17777777777}/
19
20/\o{20000000000}/
21
22/\o{37777777777}/
23
24/\o{40000000000}/
25Failed: character value in \x{} or \o{} is too large at offset 14
26
27/\x{7fffffff}\x{7fffffff}/I
28Capturing subpattern count = 0
29No options
30First char = \x{7fffffff}
31Need char = \x{7fffffff}
32
33/\x{80000000}\x{80000000}/I
34Capturing subpattern count = 0
35No options
36First char = \x{80000000}
37Need char = \x{80000000}
38
39/\x{ffffffff}\x{ffffffff}/I
40Capturing subpattern count = 0
41No options
42First char = \x{ffffffff}
43Need char = \x{ffffffff}
44
45/-- Non-UTF characters --/
46
47/\C{2,3}/
48    \x{400000}\x{400001}\x{400002}\x{400003}
49 0: \x{400000}\x{400001}\x{400002}
50
51/\x{400000}\x{800000}/iDZ
52------------------------------------------------------------------
53        Bra
54     /i \x{400000}\x{800000}
55        Ket
56        End
57------------------------------------------------------------------
58Capturing subpattern count = 0
59Options: caseless
60First char = \x{400000}
61Need char = \x{800000}
62
63/-- Check character ranges --/
64
65/[\H]/BZSI
66------------------------------------------------------------------
67        Bra
68        [\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{ffffffff}]
69        Ket
70        End
71------------------------------------------------------------------
72Capturing subpattern count = 0
73No options
74No first char
75No need char
76Subject length lower bound = 1
77Starting chars: \x00 \x01 \x02 \x03 \x04 \x05 \x06 \x07 \x08 \x0a \x0b
78  \x0c \x0d \x0e \x0f \x10 \x11 \x12 \x13 \x14 \x15 \x16 \x17 \x18 \x19 \x1a
79  \x1b \x1c \x1d \x1e \x1f ! " # $ % & ' ( ) * + , - . / 0 1 2 3 4 5 6 7 8 9
80  : ; < = > ? @ 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 [ \ ] ^
81  _ ` 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 { | } ~ \x7f \x80
82  \x81 \x82 \x83 \x84 \x85 \x86 \x87 \x88 \x89 \x8a \x8b \x8c \x8d \x8e \x8f
83  \x90 \x91 \x92 \x93 \x94 \x95 \x96 \x97 \x98 \x99 \x9a \x9b \x9c \x9d \x9e
84  \x9f \xa1 \xa2 \xa3 \xa4 \xa5 \xa6 \xa7 \xa8 \xa9 \xaa \xab \xac \xad \xae
85  \xaf \xb0 \xb1 \xb2 \xb3 \xb4 \xb5 \xb6 \xb7 \xb8 \xb9 \xba \xbb \xbc \xbd
86  \xbe \xbf \xc0 \xc1 \xc2 \xc3 \xc4 \xc5 \xc6 \xc7 \xc8 \xc9 \xca \xcb \xcc
87  \xcd \xce \xcf \xd0 \xd1 \xd2 \xd3 \xd4 \xd5 \xd6 \xd7 \xd8 \xd9 \xda \xdb
88  \xdc \xdd \xde \xdf \xe0 \xe1 \xe2 \xe3 \xe4 \xe5 \xe6 \xe7 \xe8 \xe9 \xea
89  \xeb \xec \xed \xee \xef \xf0 \xf1 \xf2 \xf3 \xf4 \xf5 \xf6 \xf7 \xf8 \xf9
90  \xfa \xfb \xfc \xfd \xfe \xff
91
92/[\V]/BZSI
93------------------------------------------------------------------
94        Bra
95        [\x00-\x09\x0e-\x84\x86-\xff\x{100}-\x{2027}\x{202a}-\x{ffffffff}]
96        Ket
97        End
98------------------------------------------------------------------
99Capturing subpattern count = 0
100No options
101No first char
102No need char
103Subject length lower bound = 1
104Starting chars: \x00 \x01 \x02 \x03 \x04 \x05 \x06 \x07 \x08 \x09 \x0e
105  \x0f \x10 \x11 \x12 \x13 \x14 \x15 \x16 \x17 \x18 \x19 \x1a \x1b \x1c \x1d
106  \x1e \x1f \x20 ! " # $ % & ' ( ) * + , - . / 0 1 2 3 4 5 6 7 8 9 : ; < = >
107  ? @ 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
108  d e f g h i j k l m n o p q r s t u v w x y z { | } ~ \x7f \x80 \x81 \x82
109  \x83 \x84 \x86 \x87 \x88 \x89 \x8a \x8b \x8c \x8d \x8e \x8f \x90 \x91 \x92
110  \x93 \x94 \x95 \x96 \x97 \x98 \x99 \x9a \x9b \x9c \x9d \x9e \x9f \xa0 \xa1
111  \xa2 \xa3 \xa4 \xa5 \xa6 \xa7 \xa8 \xa9 \xaa \xab \xac \xad \xae \xaf \xb0
112  \xb1 \xb2 \xb3 \xb4 \xb5 \xb6 \xb7 \xb8 \xb9 \xba \xbb \xbc \xbd \xbe \xbf
113  \xc0 \xc1 \xc2 \xc3 \xc4 \xc5 \xc6 \xc7 \xc8 \xc9 \xca \xcb \xcc \xcd \xce
114  \xcf \xd0 \xd1 \xd2 \xd3 \xd4 \xd5 \xd6 \xd7 \xd8 \xd9 \xda \xdb \xdc \xdd
115  \xde \xdf \xe0 \xe1 \xe2 \xe3 \xe4 \xe5 \xe6 \xe7 \xe8 \xe9 \xea \xeb \xec
116  \xed \xee \xef \xf0 \xf1 \xf2 \xf3 \xf4 \xf5 \xf6 \xf7 \xf8 \xf9 \xfa \xfb
117  \xfc \xfd \xfe \xff
118
119/-- End of testinput25 --/
120