github的一些开源项目
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

94 lines
1.7 KiB

  1. # These are tests of \C that do not involve UTF. They are not run when \C is
  2. # disabled by compiling with --enable-never-backslash-C.
  3. /\C+\D \C+\d \C+\S \C+\s \C+\W \C+\w \C+. \C+\R \C+\H \C+\h \C+\V \C+\v \C+\Z \C+\z \C+$/Bx
  4. ------------------------------------------------------------------
  5. Bra
  6. AllAny+
  7. \D
  8. AllAny+
  9. \d
  10. AllAny+
  11. \S
  12. AllAny+
  13. \s
  14. AllAny+
  15. \W
  16. AllAny+
  17. \w
  18. AllAny+
  19. Any
  20. AllAny+
  21. \R
  22. AllAny+
  23. \H
  24. AllAny+
  25. \h
  26. AllAny+
  27. \V
  28. AllAny+
  29. \v
  30. AllAny+
  31. \Z
  32. AllAny++
  33. \z
  34. AllAny+
  35. $
  36. Ket
  37. End
  38. ------------------------------------------------------------------
  39. /\D+\C \d+\C \S+\C \s+\C \W+\C \w+\C .+\C \R+\C \H+\C \h+\C \V+\C \v+\C a+\C \n+\C \C+\C/Bx
  40. ------------------------------------------------------------------
  41. Bra
  42. \D+
  43. AllAny
  44. \d+
  45. AllAny
  46. \S+
  47. AllAny
  48. \s+
  49. AllAny
  50. \W+
  51. AllAny
  52. \w+
  53. AllAny
  54. Any+
  55. AllAny
  56. \R+
  57. AllAny
  58. \H+
  59. AllAny
  60. \h+
  61. AllAny
  62. \V+
  63. AllAny
  64. \v+
  65. AllAny
  66. a+
  67. AllAny
  68. \x0a+
  69. AllAny
  70. AllAny+
  71. AllAny
  72. Ket
  73. End
  74. ------------------------------------------------------------------
  75. /ab\Cde/never_backslash_c
  76. Failed: error 183 at offset 4: using \C is disabled by the application
  77. /ab\Cde/info
  78. Capture group count = 0
  79. Contains \C
  80. First code unit = 'a'
  81. Last code unit = 'e'
  82. Subject length lower bound = 5
  83. abXde
  84. 0: abXde
  85. /(?<=ab\Cde)X/
  86. abZdeX
  87. 0: X
  88. # End of testinput21