xref: /PHP-7.0/ext/pcre/pcrelib/testdata/testinput11 (revision 5f9df47e)
1/-- These are a few representative patterns whose lengths and offsets are to be
2shown when the link size is 2. This is just a doublecheck test to ensure the
3sizes don't go horribly wrong when something is changed. The pattern contents
4are all themselves checked in other tests. Unicode, including property support,
5is required for these tests. --/
6
7/((?i)b)/BM
8
9/(?s)(.*X|^B)/BM
10
11/(?s:.*X|^B)/BM
12
13/^[[:alnum:]]/BM
14
15/#/IxMD
16
17/a#/IxMD
18
19/x?+/BM
20
21/x++/BM
22
23/x{1,3}+/BM
24
25/(x)*+/BM
26
27/^((a+)(?U)([ab]+)(?-U)([bc]+)(\w*))/BM
28
29|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
30
31|\$\<\.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
32
33/(a(?1)b)/BM
34
35/(a(?1)+b)/BM
36
37/a(?P<name1>b|c)d(?P<longername2>e)/BM
38
39/(?:a(?P<c>c(?P<d>d)))(?P<a>a)/BM
40
41/(?P<a>a)...(?P=a)bbb(?P>a)d/BM
42
43/abc(?C255)de(?C)f/BM
44
45/abcde/CBM
46
47/\x{100}/8BM
48
49/\x{1000}/8BM
50
51/\x{10000}/8BM
52
53/\x{100000}/8BM
54
55/\x{10ffff}/8BM
56
57/\x{110000}/8BM
58
59/[\x{ff}]/8BM
60
61/[\x{100}]/8BM
62
63/\x80/8BM
64
65/\xff/8BM
66
67/\x{0041}\x{2262}\x{0391}\x{002e}/D8M
68
69/\x{D55c}\x{ad6d}\x{C5B4}/D8M
70
71/\x{65e5}\x{672c}\x{8a9e}/D8M
72
73/[\x{100}]/8BM
74
75/[Z\x{100}]/8BM
76
77/^[\x{100}\E-\Q\E\x{150}]/B8M
78
79/^[\QĀ\E-\QŐ\E]/B8M
80
81/^[\QĀ\E-\QŐ\E/B8M
82
83/[\p{L}]/BM
84
85/[\p{^L}]/BM
86
87/[\P{L}]/BM
88
89/[\P{^L}]/BM
90
91/[abc\p{L}\x{0660}]/8BM
92
93/[\p{Nd}]/8BM
94
95/[\p{Nd}+-]+/8BM
96
97/A\x{391}\x{10427}\x{ff3a}\x{1fb0}/8iBM
98
99/A\x{391}\x{10427}\x{ff3a}\x{1fb0}/8BM
100
101/[\x{105}-\x{109}]/8iBM
102
103/( ( (?(1)0|) )*   )/xBM
104
105/(  (?(1)0|)*   )/xBM
106
107/[a]/BM
108
109/[a]/8BM
110
111/[\xaa]/BM
112
113/[\xaa]/8BM
114
115/[^a]/BM
116
117/[^a]/8BM
118
119/[^\xaa]/BM
120
121/[^\xaa]/8BM
122
123/[^\d]/8WB
124
125/[[:^alpha:][:^cntrl:]]+/8WB
126
127/[[:^cntrl:][:^alpha:]]+/8WB
128
129/[[:alpha:]]+/8WB
130
131/[[:^alpha:]\S]+/8WB
132
133/abc(d|e)(*THEN)x(123(*THEN)4|567(b|q)(*THEN)xx)/B
134
135/(((a\2)|(a*)\g<-1>))*a?/B
136
137/((?+1)(\1))/B
138
139/.((?2)(?R)\1)()/B
140
141/-- End of testinput11 --/
142