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.

175 lines
3.0 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. *** Failers
  10. No match
  11. �cole
  12. No match
  13. /^[\w]+/locale=french
  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]+/locale=french
  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]/locale=french
  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+/locale=french
  49. �cole
  50. 0: �cole
  51. /(.+)\b(.+)/
  52. �cole
  53. 0: \xc9cole
  54. 1: \xc9
  55. 2: cole
  56. /(.+)\b(.+)/locale=french
  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/i,locale=french
  71. �cole
  72. 0: �cole
  73. �cole
  74. 0: �cole
  75. /\w/I
  76. Capture group count = 0
  77. Starting code units: 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
  78. 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
  79. Subject length lower bound = 1
  80. /\w/I,locale=french
  81. Capture group count = 0
  82. Starting code units: 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
  83. 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
  84. � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � �
  85. � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � �
  86. � �
  87. Subject length lower bound = 1
  88. # All remaining tests are in the french locale, so set the default.
  89. #pattern locale=french
  90. /^[\xc8-\xc9]/i
  91. �cole
  92. 0: �
  93. �cole
  94. 0: �
  95. /^[\xc8-\xc9]/
  96. �cole
  97. 0: �
  98. *** Failers
  99. No match
  100. �cole
  101. No match
  102. /\W+/
  103. >>>\xaa<<<
  104. 0: >>>
  105. >>>\xba<<<
  106. 0: >>>
  107. /[\W]+/
  108. >>>\xaa<<<
  109. 0: >>>
  110. >>>\xba<<<
  111. 0: >>>
  112. /[^[:alpha:]]+/
  113. >>>\xaa<<<
  114. 0: >>>
  115. >>>\xba<<<
  116. 0: >>>
  117. /\w+/
  118. >>>\xaa<<<
  119. 0: �
  120. >>>\xba<<<
  121. 0: �
  122. /[\w]+/
  123. >>>\xaa<<<
  124. 0: �
  125. >>>\xba<<<
  126. 0: �
  127. /[[:alpha:]]+/
  128. >>>\xaa<<<
  129. 0: �
  130. >>>\xba<<<
  131. 0: �
  132. /[[:alpha:]][[:lower:]][[:upper:]]/IB
  133. ------------------------------------------------------------------
  134. Bra
  135. [A-Za-z\x83\x8a\x8c\x8e\x9a\x9c\x9e\x9f\xaa\xb5\xba\xc0-\xd6\xd8-\xf6\xf8-\xff]
  136. [a-z\x83\x9a\x9c\x9e\xaa\xb5\xba\xdf-\xf6\xf8-\xff]
  137. [A-Z\x8a\x8c\x8e\x9f\xc0-\xd6\xd8-\xde]
  138. Ket
  139. End
  140. ------------------------------------------------------------------
  141. Capture group count = 0
  142. Starting code units: 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
  143. 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 � � � � � � � � � � �
  144. � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � �
  145. � � � � � � � � � � � � � � � � � � � � � � � � �
  146. Subject length lower bound = 3
  147. # End of testinput3