testinput3 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  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. µ
  59. \= Expect no match
  60. \x9c
  61. /\W+/
  62. >>>\xaa<<<
  63. >>>\xba<<<
  64. /[\W]+/
  65. >>>\xaa<<<
  66. >>>\xba<<<
  67. /[^[:alpha:]]+/
  68. >>>\xaa<<<
  69. >>>\xba<<<
  70. /\w+/
  71. >>>\xaa<<<
  72. >>>\xba<<<
  73. /[\w]+/
  74. >>>\xaa<<<
  75. >>>\xba<<<
  76. /[[:alpha:]]+/
  77. >>>\xaa<<<
  78. >>>\xba<<<
  79. /[[:alpha:]][[:lower:]][[:upper:]]/IB
  80. # End of testinput3