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.

109 lines
1.4 KiB

  1. # This set of tests checks local-specific features, using the "fr_FR" locale.
  2. # It is not Perl-compatible. When run via RunTest, the locale is edited to
  3. # be whichever of "fr_FR", "french", or "fr" is found to exist. There is
  4. # different version of this file called wintestinput3 for use on Windows,
  5. # where the locale is called "french" and the tests are run using
  6. # RunTest.bat.
  7. #forbid_utf
  8. /^[\w]+/
  9. \= Expect no match
  10. �cole
  11. /^[\w]+/locale=fr_FR
  12. �cole
  13. /^[\w]+/
  14. \= Expect no match
  15. �cole
  16. /^[\W]+/
  17. �cole
  18. /^[\W]+/locale=fr_FR
  19. \= Expect no match
  20. �cole
  21. /[\b]/
  22. \b
  23. \= Expect no match
  24. a
  25. /[\b]/locale=fr_FR
  26. \b
  27. \= Expect no match
  28. a
  29. /^\w+/
  30. \= Expect no match
  31. �cole
  32. /^\w+/locale=fr_FR
  33. �cole
  34. /(.+)\b(.+)/
  35. �cole
  36. /(.+)\b(.+)/locale=fr_FR
  37. \= Expect no match
  38. �cole
  39. /�cole/i
  40. �cole
  41. \= Expect no match
  42. �cole
  43. /�cole/i,locale=fr_FR
  44. �cole
  45. �cole
  46. /\w/I
  47. /\w/I,locale=fr_FR
  48. # All remaining tests are in the fr_FR locale, so set the default.
  49. #pattern locale=fr_FR
  50. /^[\xc8-\xc9]/i
  51. �cole
  52. �cole
  53. /^[\xc8-\xc9]/
  54. �cole
  55. \= Expect no match
  56. �cole
  57. /\xb5/i
  58. \= Expect no match
  59. \x9c
  60. /\W+/
  61. >>>\xaa<<<
  62. >>>\xba<<<
  63. /[\W]+/
  64. >>>\xaa<<<
  65. >>>\xba<<<
  66. /[^[:alpha:]]+/
  67. >>>\xaa<<<
  68. >>>\xba<<<
  69. /\w+/
  70. >>>\xaa<<<
  71. >>>\xba<<<
  72. /[\w]+/
  73. >>>\xaa<<<
  74. >>>\xba<<<
  75. /[[:alpha:]]+/
  76. >>>\xaa<<<
  77. >>>\xba<<<
  78. /[[:alpha:]][[:lower:]][[:upper:]]/IB
  79. # End of testinput3