1 |
/(a)b|/
|
2 |
|
3 |
/(a*)*/
|
4 |
|
5 |
/(abc|)+/
|
6 |
|
7 |
/abc/
|
8 |
abc
|
9 |
defabc
|
10 |
\Aabc
|
11 |
\IABC
|
12 |
*** Failers
|
13 |
\Adefabc
|
14 |
ABC
|
15 |
|
16 |
/^abc/
|
17 |
abc
|
18 |
\Aabc
|
19 |
*** Failers
|
20 |
defabc
|
21 |
\Adefabc
|
22 |
|
23 |
/a+bc/
|
24 |
|
25 |
/a*bc/
|
26 |
|
27 |
/a{3}bc/
|
28 |
|
29 |
/(abc|a+z)/
|
30 |
|
31 |
/^abc$/
|
32 |
abc
|
33 |
\Mdef\nabc
|
34 |
*** Failers
|
35 |
def\nabc
|
36 |
|
37 |
/abc\/
|
38 |
|
39 |
/ab\gdef/X
|
40 |
|
41 |
/(?X)ab\gdef/X
|
42 |
|
43 |
/x{5,4}/
|
44 |
|
45 |
/z{65536}/
|
46 |
|
47 |
/[abcd/
|
48 |
|
49 |
/[\B]/
|
50 |
|
51 |
/[a-\w]/
|
52 |
|
53 |
/[z-a]/
|
54 |
|
55 |
/^*/
|
56 |
|
57 |
/(abc/
|
58 |
|
59 |
/(?# abc/
|
60 |
|
61 |
/(?z)abc/
|
62 |
|
63 |
/.*b/
|
64 |
|
65 |
/.*?b/
|
66 |
|
67 |
/cat|dog|elephant/
|
68 |
this sentence eventually mentions a cat
|
69 |
this sentences rambles on and on for a while and then reaches elephant
|
70 |
|
71 |
/cat|dog|elephant/S
|
72 |
this sentence eventually mentions a cat
|
73 |
this sentences rambles on and on for a while and then reaches elephant
|
74 |
|
75 |
/cat|dog|elephant/iS
|
76 |
this sentence eventually mentions a CAT cat
|
77 |
this sentences rambles on and on for a while to elephant ElePhant
|
78 |
|
79 |
/cat|dog|elephant/IS
|
80 |
this sentence eventually mentions a CAT cat
|
81 |
this sentences rambles on and on for a while to elephant ElePhant
|
82 |
|
83 |
/cat|dog|elephant/IS
|
84 |
\Ithis sentence eventually mentions a CAT cat
|
85 |
\Ithis sentences rambles on and on for a while to elephant ElePhant
|
86 |
|
87 |
/a|[bcd]/S
|
88 |
|
89 |
/(a|[^\dZ])/S
|
90 |
|
91 |
/(a|b)*[\s]/S
|
92 |
|
93 |
/(ab\2)/
|
94 |
|
95 |
/{4,5}abc/
|
96 |
|
97 |
/(a)(b)(c)\2/
|
98 |
abcb
|
99 |
\O0abcb
|
100 |
\O2abcb
|
101 |
\O4abcb
|
102 |
\O6abcb
|
103 |
\O8abcb
|
104 |
|
105 |
/(a)bc|(a)(b)\2/
|
106 |
abc
|
107 |
\O0abc
|
108 |
\O2abc
|
109 |
\O4abc
|
110 |
aba
|
111 |
\O0aba
|
112 |
\O2aba
|
113 |
\O4aba
|
114 |
\O6aba
|
115 |
\O8aba
|
116 |
|
117 |
/^a.b/
|
118 |
\Sa\nb
|
119 |
|
120 |
/abc$/E
|
121 |
abc
|
122 |
*** Failers
|
123 |
abc\n
|
124 |
abc\ndef
|
125 |
|
126 |
/abc$/
|
127 |
*** Failers
|
128 |
\Eabc\n
|
129 |
\Eabc\ndef
|
130 |
|
131 |
/abc$/m
|
132 |
\Eabc\n
|
133 |
\Eabc\ndef
|
134 |
|
135 |
/(a)(b)(c)(d)(e)\6/
|
136 |
|
137 |
/the quick brown fox/
|
138 |
the quick brown fox
|
139 |
this is a line with the quick brown fox
|
140 |
|
141 |
/the quick brown fox/A
|
142 |
the quick brown fox
|
143 |
*** Failers
|
144 |
this is a line with the quick brown fox
|
145 |
|
146 |
/ab(?z)cd/
|
147 |
|
148 |
".*/\Xfoo"X
|
149 |
/this/is/a/very/long/line/in/deed/with/very/many/slashes/in/it/you/see/
|
150 |
|
151 |
"(?X).*/\Xfoo"
|
152 |
/this/is/a/very/long/line/in/deed/with/very/many/slashes/in/it/you/see/
|
153 |
|
154 |
".*/\Xfoo"X
|
155 |
/this/is/a/very/long/line/in/deed/with/very/many/slashes/in/and/foo
|
156 |
|
157 |
"(?X).*/\Xfoo"
|
158 |
/this/is/a/very/long/line/in/deed/with/very/many/slashes/in/and/foo
|
159 |
|
160 |
/(\.\d\d[1-9]?)\d+/
|
161 |
1.230003938
|
162 |
1.875000282
|
163 |
1.235
|
164 |
|
165 |
/(\.\d\d[1-9]?)\X\d+/X
|
166 |
1.230003938
|
167 |
1.875000282
|
168 |
*** Failers
|
169 |
1.235
|
170 |
|
171 |
/(\.\d\d((?=0)|\d(?=\d)))/
|
172 |
1.230003938
|
173 |
1.875000282
|
174 |
*** Failers
|
175 |
1.235
|
176 |
|
177 |
/^(\w+\X|\s+\X)*$/X
|
178 |
now is the time for all good men to come to the aid of the party
|
179 |
*** Failers
|
180 |
this is not a line with only words and spaces!
|
181 |
|
182 |
/^abc|def/
|
183 |
abcdef
|
184 |
abcdef\B
|
185 |
|
186 |
/.*((abc)$|(def))/
|
187 |
defabc
|
188 |
\Zdefabc
|
189 |
|
190 |
/abc/P
|
191 |
abc
|
192 |
*** Failers
|
193 |
|
194 |
/^abc|def/P
|
195 |
abcdef
|
196 |
abcdef\B
|
197 |
|
198 |
/.*((abc)$|(def))/P
|
199 |
defabc
|
200 |
\Zdefabc
|
201 |
|
202 |
/the quick brown fox/P
|
203 |
the quick brown fox
|
204 |
*** Failers
|
205 |
The Quick Brown Fox
|
206 |
|
207 |
/the quick brown fox/Pi
|
208 |
the quick brown fox
|
209 |
The Quick Brown Fox
|
210 |
|
211 |
/abc.def/P
|
212 |
*** Failers
|
213 |
abc\ndef
|
214 |
|
215 |
/abc$/P
|
216 |
abc
|
217 |
abc\n
|
218 |
|
219 |
/abc\/P
|
220 |
|
221 |
/(abc)\2/P
|
222 |
|
223 |
/(abc\1)/P
|
224 |
abc
|
225 |
|
226 |
"(?>.*/)foo"X
|
227 |
/this/is/a/very/long/line/in/deed/with/very/many/slashes/in/it/you/see/
|
228 |
|
229 |
"(?>.*/)foo"X
|
230 |
/this/is/a/very/long/line/in/deed/with/very/many/slashes/in/and/foo
|
231 |
|
232 |
/(?>(\.\d\d[1-9]?))\d+/X
|
233 |
1.230003938
|
234 |
1.875000282
|
235 |
*** Failers
|
236 |
1.235
|
237 |
|
238 |
/^((?>\w+)|(?>\s+))*$/X
|
239 |
now is the time for all good men to come to the aid of the party
|
240 |
*** Failers
|
241 |
this is not a line with only words and spaces!
|
242 |
|
243 |
/(\d+)(\w)/X
|
244 |
12345a
|
245 |
12345+
|
246 |
|
247 |
/((?>\d+))(\w)/X
|
248 |
12345a
|
249 |
*** Failers
|
250 |
12345+
|
251 |
|
252 |
/([a]*)*/
|
253 |
|
254 |
/([ab]*)*/
|
255 |
|
256 |
/([^a]*)*/
|
257 |
|
258 |
/([^ab]*)*/
|
259 |
|
260 |
/([a]*?)*/
|
261 |
|
262 |
/([ab]*?)*/
|
263 |
|
264 |
/([^a]*?)*/
|
265 |
|
266 |
/([^ab]*?)*/
|
267 |
|
268 |
/(?>a*)*/X
|
269 |
|
270 |
/((?>a*))*/X
|
271 |
|
272 |
/((?>a*?))*/X
|
273 |
|
274 |
/)/
|
275 |
|
276 |
/a[]b/
|
277 |
|
278 |
/[^a]/
|
279 |
\Iaaaabcd
|
280 |
\IaaAabcd
|
281 |
|
282 |
/[^az]/
|
283 |
\Iaaaabcd
|
284 |
\IaaAabcd
|
285 |
|
286 |
/[^az]/
|
287 |
\Izazabcd
|
288 |
\IAaZabcd
|
289 |
|
290 |
/[^aeiou ]{3,}/
|
291 |
co-processors, and for
|
292 |
\Ico-processors, and for
|
293 |
|
294 |
/((a)*)*/
|
295 |
|
296 |
/((a|b|c)*)*/
|
297 |
|
298 |
/<.*>/
|
299 |
abc<def>ghi<klm>nop
|
300 |
|
301 |
/<.*?>/
|
302 |
abc<def>ghi<klm>nop
|
303 |
|
304 |
/<.*>/U
|
305 |
abc<def>ghi<klm>nop
|
306 |
|
307 |
/<.*>(?U)/
|
308 |
abc<def>ghi<klm>nop
|
309 |
|
310 |
/<.*?>/U
|
311 |
abc<def>ghi<klm>nop
|
312 |
|
313 |
/={3,}/U
|
314 |
abc========def
|
315 |
|
316 |
/(?U)={3,}?/
|
317 |
abc========def
|
318 |
|
319 |
/ End of test input /
|