testinput5
上传用户:yhdzpy8989
上传日期:2007-06-13
资源大小:13604k
文件大小:2k
源码类别:

生物技术

开发平台:

C/C++

  1. /-- Because of problems with Perl 5.6 in handling UTF-8 vs non UTF-8 --/
  2. /-- strings automatically, do not use the x{} construct except with --/
  3. /-- patterns that have the /8 option set, and don't use them without! --/
  4. /a.b/8
  5.     acb
  6.     ax7fb
  7.     ax{100}b 
  8.     *** Failers
  9.     anb  
  10. /a(.{3})b/8
  11.     ax{4000}xyb 
  12.     ax{4000}x7fyb 
  13.     ax{4000}x{100}yb 
  14.     *** Failers
  15.     ax{4000}b 
  16.     acncb 
  17. /a(.*?)(.)/
  18.     axc0x88b
  19. /a(.*?)(.)/8
  20.     ax{100}b
  21. /a(.*)(.)/
  22.     axc0x88b
  23. /a(.*)(.)/8
  24.     ax{100}b
  25. /a(.)(.)/
  26.     axc0x92bcd
  27. /a(.)(.)/8
  28.     ax{240}bcd
  29. /a(.?)(.)/
  30.     axc0x92bcd
  31. /a(.?)(.)/8
  32.     ax{240}bcd
  33. /a(.??)(.)/
  34.     axc0x92bcd
  35. /a(.??)(.)/8
  36.     ax{240}bcd
  37. /a(.{3})b/8
  38.     ax{1234}xyb 
  39.     ax{1234}x{4321}yb 
  40.     ax{1234}x{4321}x{3412}b 
  41.     *** Failers
  42.     ax{1234}b 
  43.     acncb 
  44. /a(.{3,})b/8
  45.     ax{1234}xyb 
  46.     ax{1234}x{4321}yb 
  47.     ax{1234}x{4321}x{3412}b 
  48.     axxxxbcdefghijb 
  49.     ax{1234}x{4321}x{3412}x{3421}b 
  50.     *** Failers
  51.     ax{1234}b 
  52. /a(.{3,}?)b/8
  53.     ax{1234}xyb 
  54.     ax{1234}x{4321}yb 
  55.     ax{1234}x{4321}x{3412}b 
  56.     axxxxbcdefghijb 
  57.     ax{1234}x{4321}x{3412}x{3421}b 
  58.     *** Failers
  59.     ax{1234}b 
  60. /a(.{3,5})b/8
  61.     ax{1234}xyb 
  62.     ax{1234}x{4321}yb 
  63.     ax{1234}x{4321}x{3412}b 
  64.     axxxxbcdefghijb 
  65.     ax{1234}x{4321}x{3412}x{3421}b 
  66.     axbxxbcdefghijb 
  67.     axxxxxbcdefghijb 
  68.     *** Failers
  69.     ax{1234}b 
  70.     axxxxxxbcdefghijb 
  71. /a(.{3,5}?)b/8
  72.     ax{1234}xyb 
  73.     ax{1234}x{4321}yb 
  74.     ax{1234}x{4321}x{3412}b 
  75.     axxxxbcdefghijb 
  76.     ax{1234}x{4321}x{3412}x{3421}b 
  77.     axbxxbcdefghijb 
  78.     axxxxxbcdefghijb 
  79.     *** Failers
  80.     ax{1234}b 
  81.     axxxxxxbcdefghijb 
  82. /^[ax{c0}]/8
  83.     *** Failers
  84.     x{100}
  85. /(?<=aXb)cd/8
  86.     aXbcd
  87. /(?<=ax{100}b)cd/8
  88.     ax{100}bcd
  89. /(?<=ax{100000}b)cd/8
  90.     ax{100000}bcd
  91.     
  92. /(?:x{100}){3}b/8
  93.     x{100}x{100}x{100}b
  94.     *** Failers 
  95.     x{100}x{100}b
  96. / End of testinput5 /