testoutput16 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193
  1. /-- This set of tests is run only with the 8-bit library when Unicode property
  2. support is available. It starts with tests of the POSIX interface, because
  3. that is supported only with the 8-bit library. --/
  4. /\w/P
  5. +++\x{c2}
  6. No match: POSIX code 17: match failed
  7. /\w/WP
  8. +++\x{c2}
  9. 0: \xc2
  10. /A\x{391}\x{10427}\x{ff3a}\x{1fb0}/8iDZ
  11. ------------------------------------------------------------------
  12. Bra
  13. /i A\x{391}\x{10427}\x{ff3a}\x{1fb0}
  14. Ket
  15. End
  16. ------------------------------------------------------------------
  17. Capturing subpattern count = 0
  18. Options: caseless utf
  19. First char = 'A' (caseless)
  20. No need char
  21. /A\x{391}\x{10427}\x{ff3a}\x{1fb0}/8DZ
  22. ------------------------------------------------------------------
  23. Bra
  24. A\x{391}\x{10427}\x{ff3a}\x{1fb0}
  25. Ket
  26. End
  27. ------------------------------------------------------------------
  28. Capturing subpattern count = 0
  29. Options: utf
  30. First char = 'A'
  31. Need char = \x{b0}
  32. /AB\x{1fb0}/8DZ
  33. ------------------------------------------------------------------
  34. Bra
  35. AB\x{1fb0}
  36. Ket
  37. End
  38. ------------------------------------------------------------------
  39. Capturing subpattern count = 0
  40. Options: utf
  41. First char = 'A'
  42. Need char = \x{b0}
  43. /AB\x{1fb0}/8DZi
  44. ------------------------------------------------------------------
  45. Bra
  46. /i AB\x{1fb0}
  47. Ket
  48. End
  49. ------------------------------------------------------------------
  50. Capturing subpattern count = 0
  51. Options: caseless utf
  52. First char = 'A' (caseless)
  53. Need char = 'B' (caseless)
  54. /\x{401}\x{420}\x{421}\x{422}\x{423}\x{424}\x{425}\x{426}\x{427}\x{428}\x{429}\x{42a}\x{42b}\x{42c}\x{42d}\x{42e}\x{42f}/8iSI
  55. Capturing subpattern count = 0
  56. Options: caseless utf
  57. No first char
  58. No need char
  59. Subject length lower bound = 17
  60. Starting chars: \xd0 \xd1
  61. \x{401}\x{420}\x{421}\x{422}\x{423}\x{424}\x{425}\x{426}\x{427}\x{428}\x{429}\x{42a}\x{42b}\x{42c}\x{42d}\x{42e}\x{42f}
  62. 0: \x{401}\x{420}\x{421}\x{422}\x{423}\x{424}\x{425}\x{426}\x{427}\x{428}\x{429}\x{42a}\x{42b}\x{42c}\x{42d}\x{42e}\x{42f}
  63. \x{451}\x{440}\x{441}\x{442}\x{443}\x{444}\x{445}\x{446}\x{447}\x{448}\x{449}\x{44a}\x{44b}\x{44c}\x{44d}\x{44e}\x{44f}
  64. 0: \x{451}\x{440}\x{441}\x{442}\x{443}\x{444}\x{445}\x{446}\x{447}\x{448}\x{449}\x{44a}\x{44b}\x{44c}\x{44d}\x{44e}\x{44f}
  65. /[ⱥ]/8iBZ
  66. ------------------------------------------------------------------
  67. Bra
  68. /i \x{2c65}
  69. Ket
  70. End
  71. ------------------------------------------------------------------
  72. /[^ⱥ]/8iBZ
  73. ------------------------------------------------------------------
  74. Bra
  75. /i [^\x{2c65}]
  76. Ket
  77. End
  78. ------------------------------------------------------------------
  79. /\h/SI
  80. Capturing subpattern count = 0
  81. No options
  82. No first char
  83. No need char
  84. Subject length lower bound = 1
  85. Starting chars: \x09 \x20 \xa0
  86. /\v/SI
  87. Capturing subpattern count = 0
  88. No options
  89. No first char
  90. No need char
  91. Subject length lower bound = 1
  92. Starting chars: \x0a \x0b \x0c \x0d \x85
  93. /\R/SI
  94. Capturing subpattern count = 0
  95. No options
  96. No first char
  97. No need char
  98. Subject length lower bound = 1
  99. Starting chars: \x0a \x0b \x0c \x0d \x85
  100. /[[:blank:]]/WBZ
  101. ------------------------------------------------------------------
  102. Bra
  103. [\x09 \xa0]
  104. Ket
  105. End
  106. ------------------------------------------------------------------
  107. /\x{212a}+/i8SI
  108. Capturing subpattern count = 0
  109. Options: caseless utf
  110. No first char
  111. No need char
  112. Subject length lower bound = 1
  113. Starting chars: K k \xe2
  114. KKkk\x{212a}
  115. 0: KKkk\x{212a}
  116. /s+/i8SI
  117. Capturing subpattern count = 0
  118. Options: caseless utf
  119. No first char
  120. No need char
  121. Subject length lower bound = 1
  122. Starting chars: S s \xc5
  123. SSss\x{17f}
  124. 0: SSss\x{17f}
  125. /[\W\p{Any}]/BZ
  126. ------------------------------------------------------------------
  127. Bra
  128. [\x00-/:-@[-^`{-\xff\p{Any}]
  129. Ket
  130. End
  131. ------------------------------------------------------------------
  132. abc
  133. 0: a
  134. 123
  135. 0: 1
  136. /[\W\pL]/BZ
  137. ------------------------------------------------------------------
  138. Bra
  139. [\x00-/:-@[-^`{-\xff\p{L}]
  140. Ket
  141. End
  142. ------------------------------------------------------------------
  143. abc
  144. 0: a
  145. ** Failers
  146. 0: *
  147. 123
  148. No match
  149. /[\D]/8
  150. \x{1d7cf}
  151. 0: \x{1d7cf}
  152. /[\D\P{Nd}]/8
  153. \x{1d7cf}
  154. 0: \x{1d7cf}
  155. /[^\D]/8
  156. a9b
  157. 0: 9
  158. ** Failers
  159. No match
  160. \x{1d7cf}
  161. No match
  162. /[^\D\P{Nd}]/8
  163. a9b
  164. 0: 9
  165. \x{1d7cf}
  166. 0: \x{1d7cf}
  167. ** Failers
  168. No match
  169. \x{10000}
  170. No match
  171. /-- End of testinput16 --/