testoutput3B 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170
  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. No match
  12. /^[\w]+/locale=fr_FR
  13. École
  14. 0: École
  15. /^[\w]+/
  16. \= Expect no match
  17. École
  18. No match
  19. /^[\W]+/
  20. École
  21. 0: \xc9
  22. /^[\W]+/locale=fr_FR
  23. \= Expect no match
  24. École
  25. No match
  26. /[\b]/
  27. \b
  28. 0: \x08
  29. \= Expect no match
  30. a
  31. No match
  32. /[\b]/locale=fr_FR
  33. \b
  34. 0: \x08
  35. \= Expect no match
  36. a
  37. No match
  38. /^\w+/
  39. \= Expect no match
  40. École
  41. No match
  42. /^\w+/locale=fr_FR
  43. École
  44. 0: École
  45. /(.+)\b(.+)/
  46. École
  47. 0: \xc9cole
  48. 1: \xc9
  49. 2: cole
  50. /(.+)\b(.+)/locale=fr_FR
  51. \= Expect no match
  52. École
  53. No match
  54. /École/i
  55. École
  56. 0: \xc9cole
  57. \= Expect no match
  58. école
  59. No match
  60. /École/i,locale=fr_FR
  61. École
  62. 0: École
  63. école
  64. 0: école
  65. /\w/I
  66. Capture group count = 0
  67. 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
  68. 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
  69. Subject length lower bound = 1
  70. /\w/I,locale=fr_FR
  71. Capture group count = 0
  72. 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
  73. 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
  74. ª µ º À Á Â Ã Ä Å Æ Ç È É Ê Ë Ì Í Î Ï Ð Ñ Ò Ó Ô Õ Ö Ø Ù Ú Û Ü Ý Þ ß à á â
  75. ã ä å æ ç è é ê ë ì í î ï ð ñ ò ó ô õ ö ø ù ú û ü ý þ ÿ
  76. Subject length lower bound = 1
  77. # All remaining tests are in the fr_FR locale, so set the default.
  78. #pattern locale=fr_FR
  79. /^[\xc8-\xc9]/i
  80. École
  81. 0: É
  82. école
  83. 0: é
  84. /^[\xc8-\xc9]/
  85. École
  86. 0: É
  87. \= Expect no match
  88. école
  89. No match
  90. /\xb5/i
  91. µ
  92. 0: µ
  93. \= Expect no match
  94. \x9c
  95. No match
  96. /\W+/
  97. >>>\xaa<<<
  98. 0: >>>
  99. >>>\xba<<<
  100. 0: >>>
  101. /[\W]+/
  102. >>>\xaa<<<
  103. 0: >>>
  104. >>>\xba<<<
  105. 0: >>>
  106. /[^[:alpha:]]+/
  107. >>>\xaa<<<
  108. 0: >>>
  109. >>>\xba<<<
  110. 0: >>>
  111. /\w+/
  112. >>>\xaa<<<
  113. 0: ª
  114. >>>\xba<<<
  115. 0: º
  116. /[\w]+/
  117. >>>\xaa<<<
  118. 0: ª
  119. >>>\xba<<<
  120. 0: º
  121. /[[:alpha:]]+/
  122. >>>\xaa<<<
  123. 0: ª
  124. >>>\xba<<<
  125. 0: º
  126. /[[:alpha:]][[:lower:]][[:upper:]]/IB
  127. ------------------------------------------------------------------
  128. Bra
  129. [A-Za-z\x83\x8a\x8c\x8e\x9a\x9c\x9e\x9f\xaa\xb5\xba\xc0-\xd6\xd8-\xf6\xf8-\xff]
  130. [a-z\x83\x9a\x9c\x9e\xaa\xb5\xba\xdf-\xf6\xf8-\xff]
  131. [A-Z\x8a\x8c\x8e\x9f\xc0-\xd6\xd8-\xde]
  132. Ket
  133. End
  134. ------------------------------------------------------------------
  135. Capture group count = 0
  136. 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
  137. 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 ª µ º À Á Â Ã Ä Å Æ Ç
  138. È É Ê Ë Ì Í Î Ï Ð Ñ Ò Ó Ô Õ Ö Ø Ù Ú Û Ü Ý Þ ß à á â ã ä å æ ç è é ê ë ì í
  139. î ï ð ñ ò ó ô õ ö ø ù ú û ü ý þ ÿ
  140. Subject length lower bound = 3
  141. # End of testinput3