~ubuntu-branches/ubuntu/feisty/apache2/feisty

« back to all changes in this revision

Viewing changes to srclib/pcre/testdata/testoutput4

  • Committer: Bazaar Package Importer
  • Author(s): Andreas Barth
  • Date: 2006-12-09 21:05:45 UTC
  • mfrom: (0.6.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20061209210545-h70s0xaqc2v8vqr2
Tags: 2.2.3-3.2
* Non-maintainer upload.
* 043_ajp_connection_reuse: Patch from upstream Bugzilla, fixing a critical
  issue with regard to connection reuse in mod_proxy_ajp.
  Closes: #396265

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
PCRE version 5.0 13-Sep-2004
 
2
 
 
3
/-- Do not use the \x{} construct except with patterns that have the --/
 
4
/-- /8 option set, because PCRE doesn't recognize them as UTF-8 unless --/
 
5
No match
 
6
/-- that option is set. However, the latest Perls recognize them always. --/
 
7
No match
 
8
 
 
9
/a.b/8
 
10
    acb
 
11
 0: acb
 
12
    a\x7fb
 
13
 0: a\x{7f}b
 
14
    a\x{100}b 
 
15
 0: a\x{100}b
 
16
    *** Failers
 
17
No match
 
18
    a\nb  
 
19
No match
 
20
 
 
21
/a(.{3})b/8
 
22
    a\x{4000}xyb 
 
23
 0: a\x{4000}xyb
 
24
 1: \x{4000}xy
 
25
    a\x{4000}\x7fyb 
 
26
 0: a\x{4000}\x{7f}yb
 
27
 1: \x{4000}\x{7f}y
 
28
    a\x{4000}\x{100}yb 
 
29
 0: a\x{4000}\x{100}yb
 
30
 1: \x{4000}\x{100}y
 
31
    *** Failers
 
32
No match
 
33
    a\x{4000}b 
 
34
No match
 
35
    ac\ncb 
 
36
No match
 
37
 
 
38
/a(.*?)(.)/
 
39
    a\xc0\x88b
 
40
 0: a\xc0
 
41
 1: 
 
42
 2: \xc0
 
43
 
 
44
/a(.*?)(.)/8
 
45
    a\x{100}b
 
46
 0: a\x{100}
 
47
 1: 
 
48
 2: \x{100}
 
49
 
 
50
/a(.*)(.)/
 
51
    a\xc0\x88b
 
52
 0: a\xc0\x88b
 
53
 1: \xc0\x88
 
54
 2: b
 
55
 
 
56
/a(.*)(.)/8
 
57
    a\x{100}b
 
58
 0: a\x{100}b
 
59
 1: \x{100}
 
60
 2: b
 
61
 
 
62
/a(.)(.)/
 
63
    a\xc0\x92bcd
 
64
 0: a\xc0\x92
 
65
 1: \xc0
 
66
 2: \x92
 
67
 
 
68
/a(.)(.)/8
 
69
    a\x{240}bcd
 
70
 0: a\x{240}b
 
71
 1: \x{240}
 
72
 2: b
 
73
 
 
74
/a(.?)(.)/
 
75
    a\xc0\x92bcd
 
76
 0: a\xc0\x92
 
77
 1: \xc0
 
78
 2: \x92
 
79
 
 
80
/a(.?)(.)/8
 
81
    a\x{240}bcd
 
82
 0: a\x{240}b
 
83
 1: \x{240}
 
84
 2: b
 
85
 
 
86
/a(.??)(.)/
 
87
    a\xc0\x92bcd
 
88
 0: a\xc0
 
89
 1: 
 
90
 2: \xc0
 
91
 
 
92
/a(.??)(.)/8
 
93
    a\x{240}bcd
 
94
 0: a\x{240}
 
95
 1: 
 
96
 2: \x{240}
 
97
 
 
98
/a(.{3})b/8
 
99
    a\x{1234}xyb 
 
100
 0: a\x{1234}xyb
 
101
 1: \x{1234}xy
 
102
    a\x{1234}\x{4321}yb 
 
103
 0: a\x{1234}\x{4321}yb
 
104
 1: \x{1234}\x{4321}y
 
105
    a\x{1234}\x{4321}\x{3412}b 
 
106
 0: a\x{1234}\x{4321}\x{3412}b
 
107
 1: \x{1234}\x{4321}\x{3412}
 
108
    *** Failers
 
109
No match
 
110
    a\x{1234}b 
 
111
No match
 
112
    ac\ncb 
 
113
No match
 
114
 
 
115
/a(.{3,})b/8
 
116
    a\x{1234}xyb 
 
117
 0: a\x{1234}xyb
 
118
 1: \x{1234}xy
 
119
    a\x{1234}\x{4321}yb 
 
120
 0: a\x{1234}\x{4321}yb
 
121
 1: \x{1234}\x{4321}y
 
122
    a\x{1234}\x{4321}\x{3412}b 
 
123
 0: a\x{1234}\x{4321}\x{3412}b
 
124
 1: \x{1234}\x{4321}\x{3412}
 
125
    axxxxbcdefghijb 
 
126
 0: axxxxbcdefghijb
 
127
 1: xxxxbcdefghij
 
128
    a\x{1234}\x{4321}\x{3412}\x{3421}b 
 
129
 0: a\x{1234}\x{4321}\x{3412}\x{3421}b
 
130
 1: \x{1234}\x{4321}\x{3412}\x{3421}
 
131
    *** Failers
 
132
No match
 
133
    a\x{1234}b 
 
134
No match
 
135
 
 
136
/a(.{3,}?)b/8
 
137
    a\x{1234}xyb 
 
138
 0: a\x{1234}xyb
 
139
 1: \x{1234}xy
 
140
    a\x{1234}\x{4321}yb 
 
141
 0: a\x{1234}\x{4321}yb
 
142
 1: \x{1234}\x{4321}y
 
143
    a\x{1234}\x{4321}\x{3412}b 
 
144
 0: a\x{1234}\x{4321}\x{3412}b
 
145
 1: \x{1234}\x{4321}\x{3412}
 
146
    axxxxbcdefghijb 
 
147
 0: axxxxb
 
148
 1: xxxx
 
149
    a\x{1234}\x{4321}\x{3412}\x{3421}b 
 
150
 0: a\x{1234}\x{4321}\x{3412}\x{3421}b
 
151
 1: \x{1234}\x{4321}\x{3412}\x{3421}
 
152
    *** Failers
 
153
No match
 
154
    a\x{1234}b 
 
155
No match
 
156
 
 
157
/a(.{3,5})b/8
 
158
    a\x{1234}xyb 
 
159
 0: a\x{1234}xyb
 
160
 1: \x{1234}xy
 
161
    a\x{1234}\x{4321}yb 
 
162
 0: a\x{1234}\x{4321}yb
 
163
 1: \x{1234}\x{4321}y
 
164
    a\x{1234}\x{4321}\x{3412}b 
 
165
 0: a\x{1234}\x{4321}\x{3412}b
 
166
 1: \x{1234}\x{4321}\x{3412}
 
167
    axxxxbcdefghijb 
 
168
 0: axxxxb
 
169
 1: xxxx
 
170
    a\x{1234}\x{4321}\x{3412}\x{3421}b 
 
171
 0: a\x{1234}\x{4321}\x{3412}\x{3421}b
 
172
 1: \x{1234}\x{4321}\x{3412}\x{3421}
 
173
    axbxxbcdefghijb 
 
174
 0: axbxxb
 
175
 1: xbxx
 
176
    axxxxxbcdefghijb 
 
177
 0: axxxxxb
 
178
 1: xxxxx
 
179
    *** Failers
 
180
No match
 
181
    a\x{1234}b 
 
182
No match
 
183
    axxxxxxbcdefghijb 
 
184
No match
 
185
 
 
186
/a(.{3,5}?)b/8
 
187
    a\x{1234}xyb 
 
188
 0: a\x{1234}xyb
 
189
 1: \x{1234}xy
 
190
    a\x{1234}\x{4321}yb 
 
191
 0: a\x{1234}\x{4321}yb
 
192
 1: \x{1234}\x{4321}y
 
193
    a\x{1234}\x{4321}\x{3412}b 
 
194
 0: a\x{1234}\x{4321}\x{3412}b
 
195
 1: \x{1234}\x{4321}\x{3412}
 
196
    axxxxbcdefghijb 
 
197
 0: axxxxb
 
198
 1: xxxx
 
199
    a\x{1234}\x{4321}\x{3412}\x{3421}b 
 
200
 0: a\x{1234}\x{4321}\x{3412}\x{3421}b
 
201
 1: \x{1234}\x{4321}\x{3412}\x{3421}
 
202
    axbxxbcdefghijb 
 
203
 0: axbxxb
 
204
 1: xbxx
 
205
    axxxxxbcdefghijb 
 
206
 0: axxxxxb
 
207
 1: xxxxx
 
208
    *** Failers
 
209
No match
 
210
    a\x{1234}b 
 
211
No match
 
212
    axxxxxxbcdefghijb 
 
213
No match
 
214
 
 
215
/^[a\x{c0}]/8
 
216
    *** Failers
 
217
No match
 
218
    \x{100}
 
219
No match
 
220
 
 
221
/(?<=aXb)cd/8
 
222
    aXbcd
 
223
 0: cd
 
224
 
 
225
/(?<=a\x{100}b)cd/8
 
226
    a\x{100}bcd
 
227
 0: cd
 
228
 
 
229
/(?<=a\x{100000}b)cd/8
 
230
    a\x{100000}bcd
 
231
 0: cd
 
232
    
 
233
/(?:\x{100}){3}b/8
 
234
    \x{100}\x{100}\x{100}b
 
235
 0: \x{100}\x{100}\x{100}b
 
236
    *** Failers 
 
237
No match
 
238
    \x{100}\x{100}b
 
239
No match
 
240
 
 
241
/\x{ab}/8
 
242
    \x{ab} 
 
243
 0: \x{ab}
 
244
    \xc2\xab
 
245
 0: \x{ab}
 
246
    *** Failers 
 
247
No match
 
248
    \x00{ab}
 
249
No match
 
250
 
 
251
/(?<=(.))X/8
 
252
    WXYZ
 
253
 0: X
 
254
 1: W
 
255
    \x{256}XYZ 
 
256
 0: X
 
257
 1: \x{256}
 
258
    *** Failers
 
259
No match
 
260
    XYZ 
 
261
No match
 
262
 
 
263
/X(\C{3})/8
 
264
    X\x{1234}
 
265
 0: X\x{1234}
 
266
 1: \x{1234}
 
267
 
 
268
/X(\C{4})/8
 
269
    X\x{1234}YZ
 
270
 0: X\x{1234}Y
 
271
 1: \x{1234}Y
 
272
    
 
273
/X\C*/8
 
274
    XYZabcdce
 
275
 0: XYZabcdce
 
276
    
 
277
/X\C*?/8
 
278
    XYZabcde
 
279
 0: X
 
280
    
 
281
/X\C{3,5}/8
 
282
    Xabcdefg   
 
283
 0: Xabcde
 
284
    X\x{1234} 
 
285
 0: X\x{1234}
 
286
    X\x{1234}YZ
 
287
 0: X\x{1234}YZ
 
288
    X\x{1234}\x{512}  
 
289
 0: X\x{1234}\x{512}
 
290
    X\x{1234}\x{512}YZ
 
291
 0: X\x{1234}\x{512}
 
292
 
 
293
/X\C{3,5}?/8
 
294
    Xabcdefg   
 
295
 0: Xabc
 
296
    X\x{1234} 
 
297
 0: X\x{1234}
 
298
    X\x{1234}YZ
 
299
 0: X\x{1234}
 
300
    X\x{1234}\x{512}  
 
301
 0: X\x{1234}
 
302
 
 
303
/[^a]+/8g
 
304
    bcd
 
305
 0: bcd
 
306
    \x{100}aY\x{256}Z 
 
307
 0: \x{100}
 
308
 0: Y\x{256}Z
 
309
    
 
310
/^[^a]{2}/8
 
311
    \x{100}bc
 
312
 0: \x{100}b
 
313
 
 
314
/^[^a]{2,}/8
 
315
    \x{100}bcAa
 
316
 0: \x{100}bcA
 
317
 
 
318
/^[^a]{2,}?/8
 
319
    \x{100}bca
 
320
 0: \x{100}b
 
321
 
 
322
/[^a]+/8ig
 
323
    bcd
 
324
 0: bcd
 
325
    \x{100}aY\x{256}Z 
 
326
 0: \x{100}
 
327
 0: Y\x{256}Z
 
328
    
 
329
/^[^a]{2}/8i
 
330
    \x{100}bc
 
331
 0: \x{100}b
 
332
 
 
333
/^[^a]{2,}/8i
 
334
    \x{100}bcAa
 
335
 0: \x{100}bc
 
336
 
 
337
/^[^a]{2,}?/8i
 
338
    \x{100}bca
 
339
 0: \x{100}b
 
340
 
 
341
/\x{100}{0,0}/8
 
342
    abcd
 
343
 0: 
 
344
 
 
345
/\x{100}?/8
 
346
    abcd
 
347
 0: 
 
348
    \x{100}\x{100} 
 
349
 0: \x{100}
 
350
 
 
351
/\x{100}{0,3}/8 
 
352
    \x{100}\x{100} 
 
353
 0: \x{100}\x{100}
 
354
    \x{100}\x{100}\x{100}\x{100} 
 
355
 0: \x{100}\x{100}\x{100}
 
356
    
 
357
/\x{100}*/8
 
358
    abce
 
359
 0: 
 
360
    \x{100}\x{100}\x{100}\x{100} 
 
361
 0: \x{100}\x{100}\x{100}\x{100}
 
362
 
 
363
/\x{100}{1,1}/8
 
364
    abcd\x{100}\x{100}\x{100}\x{100} 
 
365
 0: \x{100}
 
366
 
 
367
/\x{100}{1,3}/8
 
368
    abcd\x{100}\x{100}\x{100}\x{100} 
 
369
 0: \x{100}\x{100}\x{100}
 
370
 
 
371
/\x{100}+/8
 
372
    abcd\x{100}\x{100}\x{100}\x{100} 
 
373
 0: \x{100}\x{100}\x{100}\x{100}
 
374
 
 
375
/\x{100}{3}/8
 
376
    abcd\x{100}\x{100}\x{100}XX
 
377
 0: \x{100}\x{100}\x{100}
 
378
 
 
379
/\x{100}{3,5}/8
 
380
    abcd\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}XX
 
381
 0: \x{100}\x{100}\x{100}\x{100}\x{100}
 
382
 
 
383
/\x{100}{3,}/8
 
384
    abcd\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}XX
 
385
 0: \x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}
 
386
 
 
387
/(?<=a\x{100}{2}b)X/8+
 
388
    Xyyya\x{100}\x{100}bXzzz
 
389
 0: X
 
390
 0+ zzz
 
391
 
 
392
/\D*/8
 
393
  aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
 
394
 0: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
 
395
 
 
396
/\D*/8
 
397
  \x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}
 
398
 0: \x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}
 
399
 
 
400
/\D/8
 
401
    1X2
 
402
 0: X
 
403
    1\x{100}2 
 
404
 0: \x{100}
 
405
  
 
406
/>\S/8
 
407
    > >X Y
 
408
 0: >X
 
409
    > >\x{100} Y
 
410
 0: >\x{100}
 
411
  
 
412
/\d/8
 
413
    \x{100}3
 
414
 0: 3
 
415
    
 
416
/\s/8
 
417
    \x{100} X
 
418
 0:  
 
419
    
 
420
/\D+/8
 
421
    12abcd34
 
422
 0: abcd
 
423
    *** Failers
 
424
 0: *** Failers
 
425
    1234  
 
426
No match
 
427
 
 
428
/\D{2,3}/8
 
429
    12abcd34
 
430
 0: abc
 
431
    12ab34
 
432
 0: ab
 
433
    *** Failers  
 
434
 0: ***
 
435
    1234
 
436
No match
 
437
    12a34  
 
438
No match
 
439
 
 
440
/\D{2,3}?/8
 
441
    12abcd34
 
442
 0: ab
 
443
    12ab34
 
444
 0: ab
 
445
    *** Failers  
 
446
 0: **
 
447
    1234
 
448
No match
 
449
    12a34  
 
450
No match
 
451
 
 
452
/\d+/8
 
453
    12abcd34
 
454
 0: 12
 
455
    *** Failers
 
456
No match
 
457
 
 
458
/\d{2,3}/8
 
459
    12abcd34
 
460
 0: 12
 
461
    1234abcd
 
462
 0: 123
 
463
    *** Failers  
 
464
No match
 
465
    1.4 
 
466
No match
 
467
 
 
468
/\d{2,3}?/8
 
469
    12abcd34
 
470
 0: 12
 
471
    1234abcd
 
472
 0: 12
 
473
    *** Failers  
 
474
No match
 
475
    1.4 
 
476
No match
 
477
 
 
478
/\S+/8
 
479
    12abcd34
 
480
 0: 12abcd34
 
481
    *** Failers
 
482
 0: ***
 
483
    \    \ 
 
484
No match
 
485
 
 
486
/\S{2,3}/8
 
487
    12abcd34
 
488
 0: 12a
 
489
    1234abcd
 
490
 0: 123
 
491
    *** Failers
 
492
 0: ***
 
493
    \     \  
 
494
No match
 
495
 
 
496
/\S{2,3}?/8
 
497
    12abcd34
 
498
 0: 12
 
499
    1234abcd
 
500
 0: 12
 
501
    *** Failers
 
502
 0: **
 
503
    \     \  
 
504
No match
 
505
 
 
506
/>\s+</8+
 
507
    12>      <34
 
508
 0: >      <
 
509
 0+ 34
 
510
    *** Failers
 
511
No match
 
512
 
 
513
/>\s{2,3}</8+
 
514
    ab>  <cd
 
515
 0: >  <
 
516
 0+ cd
 
517
    ab>   <ce
 
518
 0: >   <
 
519
 0+ ce
 
520
    *** Failers
 
521
No match
 
522
    ab>    <cd 
 
523
No match
 
524
 
 
525
/>\s{2,3}?</8+
 
526
    ab>  <cd
 
527
 0: >  <
 
528
 0+ cd
 
529
    ab>   <ce
 
530
 0: >   <
 
531
 0+ ce
 
532
    *** Failers
 
533
No match
 
534
    ab>    <cd 
 
535
No match
 
536
 
 
537
/\w+/8
 
538
    12      34
 
539
 0: 12
 
540
    *** Failers
 
541
 0: Failers
 
542
    +++=*! 
 
543
No match
 
544
 
 
545
/\w{2,3}/8
 
546
    ab  cd
 
547
 0: ab
 
548
    abcd ce
 
549
 0: abc
 
550
    *** Failers
 
551
 0: Fai
 
552
    a.b.c
 
553
No match
 
554
 
 
555
/\w{2,3}?/8
 
556
    ab  cd
 
557
 0: ab
 
558
    abcd ce
 
559
 0: ab
 
560
    *** Failers
 
561
 0: Fa
 
562
    a.b.c
 
563
No match
 
564
 
 
565
/\W+/8
 
566
    12====34
 
567
 0: ====
 
568
    *** Failers
 
569
 0: *** 
 
570
    abcd 
 
571
No match
 
572
 
 
573
/\W{2,3}/8
 
574
    ab====cd
 
575
 0: ===
 
576
    ab==cd
 
577
 0: ==
 
578
    *** Failers
 
579
 0: ***
 
580
    a.b.c
 
581
No match
 
582
 
 
583
/\W{2,3}?/8
 
584
    ab====cd
 
585
 0: ==
 
586
    ab==cd
 
587
 0: ==
 
588
    *** Failers
 
589
 0: **
 
590
    a.b.c
 
591
No match
 
592
 
 
593
/[\x{100}]/8
 
594
    \x{100}
 
595
 0: \x{100}
 
596
    Z\x{100}
 
597
 0: \x{100}
 
598
    \x{100}Z
 
599
 0: \x{100}
 
600
    *** Failers 
 
601
No match
 
602
 
 
603
/[Z\x{100}]/8
 
604
    Z\x{100}
 
605
 0: Z
 
606
    \x{100}
 
607
 0: \x{100}
 
608
    \x{100}Z
 
609
 0: \x{100}
 
610
    *** Failers 
 
611
No match
 
612
 
 
613
/[\x{100}\x{200}]/8
 
614
   ab\x{100}cd
 
615
 0: \x{100}
 
616
   ab\x{200}cd
 
617
 0: \x{200}
 
618
   *** Failers  
 
619
No match
 
620
 
 
621
/[\x{100}-\x{200}]/8
 
622
   ab\x{100}cd
 
623
 0: \x{100}
 
624
   ab\x{200}cd
 
625
 0: \x{200}
 
626
   ab\x{111}cd 
 
627
 0: \x{111}
 
628
   *** Failers  
 
629
No match
 
630
 
 
631
/[z-\x{200}]/8
 
632
   ab\x{100}cd
 
633
 0: \x{100}
 
634
   ab\x{200}cd
 
635
 0: \x{200}
 
636
   ab\x{111}cd 
 
637
 0: \x{111}
 
638
   abzcd
 
639
 0: z
 
640
   ab|cd  
 
641
 0: |
 
642
   *** Failers  
 
643
No match
 
644
 
 
645
/[Q\x{100}\x{200}]/8
 
646
   ab\x{100}cd
 
647
 0: \x{100}
 
648
   ab\x{200}cd
 
649
 0: \x{200}
 
650
   Q? 
 
651
 0: Q
 
652
   *** Failers  
 
653
No match
 
654
 
 
655
/[Q\x{100}-\x{200}]/8
 
656
   ab\x{100}cd
 
657
 0: \x{100}
 
658
   ab\x{200}cd
 
659
 0: \x{200}
 
660
   ab\x{111}cd 
 
661
 0: \x{111}
 
662
   Q? 
 
663
 0: Q
 
664
   *** Failers  
 
665
No match
 
666
 
 
667
/[Qz-\x{200}]/8
 
668
   ab\x{100}cd
 
669
 0: \x{100}
 
670
   ab\x{200}cd
 
671
 0: \x{200}
 
672
   ab\x{111}cd 
 
673
 0: \x{111}
 
674
   abzcd
 
675
 0: z
 
676
   ab|cd  
 
677
 0: |
 
678
   Q? 
 
679
 0: Q
 
680
   *** Failers  
 
681
No match
 
682
 
 
683
/[\x{100}\x{200}]{1,3}/8
 
684
   ab\x{100}cd
 
685
 0: \x{100}
 
686
   ab\x{200}cd
 
687
 0: \x{200}
 
688
   ab\x{200}\x{100}\x{200}\x{100}cd
 
689
 0: \x{200}\x{100}\x{200}
 
690
   *** Failers  
 
691
No match
 
692
 
 
693
/[\x{100}\x{200}]{1,3}?/8
 
694
   ab\x{100}cd
 
695
 0: \x{100}
 
696
   ab\x{200}cd
 
697
 0: \x{200}
 
698
   ab\x{200}\x{100}\x{200}\x{100}cd
 
699
 0: \x{200}
 
700
   *** Failers  
 
701
No match
 
702
 
 
703
/[Q\x{100}\x{200}]{1,3}/8
 
704
   ab\x{100}cd
 
705
 0: \x{100}
 
706
   ab\x{200}cd
 
707
 0: \x{200}
 
708
   ab\x{200}\x{100}\x{200}\x{100}cd
 
709
 0: \x{200}\x{100}\x{200}
 
710
   *** Failers  
 
711
No match
 
712
 
 
713
/[Q\x{100}\x{200}]{1,3}?/8
 
714
   ab\x{100}cd
 
715
 0: \x{100}
 
716
   ab\x{200}cd
 
717
 0: \x{200}
 
718
   ab\x{200}\x{100}\x{200}\x{100}cd
 
719
 0: \x{200}
 
720
   *** Failers  
 
721
No match
 
722
 
 
723
/(?<=[\x{100}\x{200}])X/8
 
724
    abc\x{200}X
 
725
 0: X
 
726
    abc\x{100}X 
 
727
 0: X
 
728
    *** Failers
 
729
No match
 
730
    X  
 
731
No match
 
732
 
 
733
/(?<=[Q\x{100}\x{200}])X/8
 
734
    abc\x{200}X
 
735
 0: X
 
736
    abc\x{100}X 
 
737
 0: X
 
738
    abQX 
 
739
 0: X
 
740
    *** Failers
 
741
No match
 
742
    X  
 
743
No match
 
744
 
 
745
/(?<=[\x{100}\x{200}]{3})X/8
 
746
    abc\x{100}\x{200}\x{100}X
 
747
 0: X
 
748
    *** Failers
 
749
No match
 
750
    abc\x{200}X
 
751
No match
 
752
    X  
 
753
No match
 
754
 
 
755
/[^\x{100}\x{200}]X/8
 
756
    AX
 
757
 0: AX
 
758
    \x{150}X
 
759
 0: \x{150}X
 
760
    \x{500}X 
 
761
 0: \x{500}X
 
762
    *** Failers
 
763
No match
 
764
    \x{100}X
 
765
No match
 
766
    \x{200}X   
 
767
No match
 
768
 
 
769
/[^Q\x{100}\x{200}]X/8
 
770
    AX
 
771
 0: AX
 
772
    \x{150}X
 
773
 0: \x{150}X
 
774
    \x{500}X 
 
775
 0: \x{500}X
 
776
    *** Failers
 
777
No match
 
778
    \x{100}X
 
779
No match
 
780
    \x{200}X   
 
781
No match
 
782
    QX 
 
783
No match
 
784
 
 
785
/[^\x{100}-\x{200}]X/8
 
786
    AX
 
787
 0: AX
 
788
    \x{500}X 
 
789
 0: \x{500}X
 
790
    *** Failers
 
791
No match
 
792
    \x{100}X
 
793
No match
 
794
    \x{150}X
 
795
No match
 
796
    \x{200}X   
 
797
No match
 
798
 
 
799
/a\Cb/
 
800
    aXb
 
801
 0: aXb
 
802
    a\nb
 
803
 0: a\x0ab
 
804
  
 
805
/a\Cb/8
 
806
    aXb
 
807
 0: aXb
 
808
    a\nb
 
809
 0: a\x{0a}b
 
810
    *** Failers 
 
811
No match
 
812
    a\x{100}b 
 
813
No match
 
814
 
 
815
/[z-\x{100}]/8i
 
816
    z
 
817
 0: z
 
818
    Z 
 
819
 0: Z
 
820
    \x{100}
 
821
 0: \x{100}
 
822
    *** Failers
 
823
No match
 
824
    \x{102}
 
825
No match
 
826
    y    
 
827
No match
 
828
 
 
829
/[\xFF]/
 
830
    >\xff<
 
831
 0: \xff
 
832
 
 
833
/[\xff]/8
 
834
    >\x{ff}<
 
835
 0: \x{ff}
 
836
 
 
837
/[^\xFF]/
 
838
    XYZ
 
839
 0: X
 
840
 
 
841
/[^\xff]/8
 
842
    XYZ
 
843
 0: X
 
844
    \x{123} 
 
845
 0: \x{123}
 
846
 
 
847
/^[ac]*b/8
 
848
  xb
 
849
No match
 
850
 
 
851
/^[ac\x{100}]*b/8
 
852
  xb
 
853
No match
 
854
 
 
855
/^[^x]*b/8i
 
856
  xb
 
857
No match
 
858
 
 
859
/^[^x]*b/8
 
860
  xb
 
861
No match
 
862
  
 
863
/^\d*b/8
 
864
  xb 
 
865
No match
 
866
 
 
867
/(|a)/g8
 
868
    catac
 
869
 0: 
 
870
 1: 
 
871
 0: 
 
872
 1: 
 
873
 0: a
 
874
 1: a
 
875
 0: 
 
876
 1: 
 
877
 0: 
 
878
 1: 
 
879
 0: a
 
880
 1: a
 
881
 0: 
 
882
 1: 
 
883
 0: 
 
884
 1: 
 
885
    a\x{256}a 
 
886
 0: 
 
887
 1: 
 
888
 0: a
 
889
 1: a
 
890
 0: 
 
891
 1: 
 
892
 0: 
 
893
 1: 
 
894
 0: a
 
895
 1: a
 
896
 0: 
 
897
 1: 
 
898
 
 
899
/^\x{85}$/8i
 
900
    \x{85}
 
901
 0: \x{85}
 
902
 
 
903
/ End of testinput4 /