# Diff of /code/tags/pcre-2.05/testinput2

revision 23 by nigel, Sat Feb 24 21:38:41 2007 UTC revision 33 by nigel, Sat Feb 24 21:39:01 2007 UTC
# Line 28  Line 28
28      *** Failers      *** Failers
29      def\nabc      def\nabc
30
/abc\/

31  /ab\gdef/X  /ab\gdef/X
32
33  /(?X)ab\gdef/X  /(?X)ab\gdef/X
# Line 156  Line 154
154      abc      abc
155      abc\n      abc\n
156
/abc\/P

157  /(abc)\2/P  /(abc)\2/P
158
159  /(abc\1)/P  /(abc\1)/P
# Line 285  Line 281
281
282  /(?<=ab(c|de)f)g/  /(?<=ab(c|de)f)g/
283
284  /The next two are in testinput2 because they have variable length branches/  /The next three are in testinput2 because they have variable length branches/
285
286  /(?<=bullock|donkey)-cart/  /(?<=bullock|donkey)-cart/
287      the bullock-cart      the bullock-cart
# Line 296  Line 292
292
293  /(?<=ab(?i)x|y|z)/  /(?<=ab(?i)x|y|z)/
294
295    /(?>.*)(?<=(abcd)|(xyz))/
296        alphabetabcd
297        endingxyz
298
299  /(?<=ab(?i)x(?-i)y|(?i)z|b)ZZ/  /(?<=ab(?i)x(?-i)y|(?i)z|b)ZZ/
300      abxyZZ      abxyZZ
301      abXyZZ      abXyZZ
# Line 338  Line 338
338
339  /(*)b/  /(*)b/
340
/a\/

341  /abc)/  /abc)/
342
343  /(abc/  /(abc/
# Line 364  Line 362
362
363  /(*)b/i  /(*)b/i
364
/a\/i

365  /abc)/i  /abc)/i
366
367  /(abc/i  /(abc/i
# Line 398  Line 394
394
395  /a{37,17}/  /a{37,17}/
396
397    /abc/\
398
399    /abc/\P
400
401    /abc/\i
402
403    /(a)bc(d)/
404        abcd
405        abcd\C2
406        abcd\C5
407
408    /(.{20})/
409        abcdefghijklmnopqrstuvwxyz
410        abcdefghijklmnopqrstuvwxyz\C1
411        abcdefghijklmnopqrstuvwxyz\G1
412
413    /(.{15})/
414        abcdefghijklmnopqrstuvwxyz
415        abcdefghijklmnopqrstuvwxyz\C1\G1
416
417    /(.{16})/
418        abcdefghijklmnopqrstuvwxyz
419        abcdefghijklmnopqrstuvwxyz\C1\G1\L
420
421    /^(a|(bc))de(f)/
423        bcdef\G1\G2\G3\G4\L
425
426    /^abc\00def/
427        abc\00def\L\C0
428
429    /word ((?:[a-zA-Z0-9]+ )((?:[a-zA-Z0-9]+ )((?:[a-zA-Z0-9]+ )((?:[a-zA-Z0-9]+
430    )((?:[a-zA-Z0-9]+ )((?:[a-zA-Z0-9]+ )((?:[a-zA-Z0-9]+ )((?:[a-zA-Z0-9]+
431    )?)?)?)?)?)?)?)?)?otherword/M
432
433    /.*X/D
434
435    /.*X/Ds
436
437    /(.*X|^B)/D
438
439    /(.*X|^B)/Ds
440
441    /(?s)(.*X|^B)/D
442
443    /(?s:.*X|^B)/D
444
445  / End of test input /  / End of test input /

Legend:
 Removed from v.23 changed lines Added in v.33