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.

174 lines
2.8 KiB

12 years ago
  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 8W
  8. /^[\w]+/
  9. *** Failers
  10. No match
  11. �cole
  12. No match
  13. /^[\w]+/Lfr_FR
  14. �cole
  15. 0: �cole
  16. /^[\w]+/
  17. *** Failers
  18. No match
  19. �cole
  20. No match
  21. /^[\W]+/
  22. �cole
  23. 0: \xc9
  24. /^[\W]+/Lfr_FR
  25. *** Failers
  26. 0: ***
  27. �cole
  28. No match
  29. /[\b]/
  30. \b
  31. 0: \x08
  32. *** Failers
  33. No match
  34. a
  35. No match
  36. /[\b]/Lfr_FR
  37. \b
  38. 0: \x08
  39. *** Failers
  40. No match
  41. a
  42. No match
  43. /^\w+/
  44. *** Failers
  45. No match
  46. �cole
  47. No match
  48. /^\w+/Lfr_FR
  49. �cole
  50. 0: �cole
  51. /(.+)\b(.+)/
  52. �cole
  53. 0: \xc9cole
  54. 1: \xc9
  55. 2: cole
  56. /(.+)\b(.+)/Lfr_FR
  57. *** Failers
  58. 0: *** Failers
  59. 1: ***
  60. 2: Failers
  61. �cole
  62. No match
  63. /�cole/i
  64. �cole
  65. 0: \xc9cole
  66. *** Failers
  67. No match
  68. �cole
  69. No match
  70. /�cole/iLfr_FR
  71. �cole
  72. 0: �cole
  73. �cole
  74. 0: �cole
  75. /\w/IS
  76. Capturing subpattern count = 0
  77. No options
  78. No first char
  79. No need char
  80. Subject length lower bound = 1
  81. Starting chars: 0 1 2 3 4 5 6 7 8 9 A B C D E F G H I J K L M N O P
  82. Q R S T U V W X Y Z _ a b c d e f g h i j k l m n o p q r s t u v w x y z
  83. /\w/ISLfr_FR
  84. Capturing subpattern count = 0
  85. No options
  86. No first char
  87. No need char
  88. Subject length lower bound = 1
  89. Starting chars: 0 1 2 3 4 5 6 7 8 9 A B C D E F G H I J K L M N O P
  90. Q R S T U V W X Y Z _ a b c d e f g h i j k l m n o p q r s t u v w x y z
  91. � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � �
  92. � � � � � � � � � � � � � � � � � � � � � � � � � � � �
  93. /^[\xc8-\xc9]/iLfr_FR
  94. �cole
  95. 0: �
  96. �cole
  97. 0: �
  98. /^[\xc8-\xc9]/Lfr_FR
  99. �cole
  100. 0: �
  101. *** Failers
  102. No match
  103. �cole
  104. No match
  105. /\W+/Lfr_FR
  106. >>>\xaa<<<
  107. 0: >>>
  108. >>>\xba<<<
  109. 0: >>>
  110. /[\W]+/Lfr_FR
  111. >>>\xaa<<<
  112. 0: >>>
  113. >>>\xba<<<
  114. 0: >>>
  115. /[^[:alpha:]]+/Lfr_FR
  116. >>>\xaa<<<
  117. 0: >>>
  118. >>>\xba<<<
  119. 0: >>>
  120. /\w+/Lfr_FR
  121. >>>\xaa<<<
  122. 0: �
  123. >>>\xba<<<
  124. 0: �
  125. /[\w]+/Lfr_FR
  126. >>>\xaa<<<
  127. 0: �
  128. >>>\xba<<<
  129. 0: �
  130. /[[:alpha:]]+/Lfr_FR
  131. >>>\xaa<<<
  132. 0: �
  133. >>>\xba<<<
  134. 0: �
  135. /[[:alpha:]][[:lower:]][[:upper:]]/DZLfr_FR
  136. ------------------------------------------------------------------
  137. Bra
  138. [A-Za-z\x83\x8a\x8c\x8e\x9a\x9c\x9e\x9f\xaa\xb5\xba\xc0-\xd6\xd8-\xf6\xf8-\xff]
  139. [a-z\x83\x9a\x9c\x9e\xaa\xb5\xba\xdf-\xf6\xf8-\xff]
  140. [A-Z\x8a\x8c\x8e\x9f\xc0-\xd6\xd8-\xde]
  141. Ket
  142. End
  143. ------------------------------------------------------------------
  144. Capturing subpattern count = 0
  145. No options
  146. No first char
  147. No need char
  148. /-- End of testinput3 --/