Lines Matching +full:utf +full:- +full:8

1 # This set of tests is for UTF-8 support and Unicode property support, with
2 # relevance only for the 8-bit library.
6 # The next 5 patterns have UTF-8 errors
8 /[�]/utf
9 Failed: error -8 at offset 1: UTF-8 error: byte 2 top bits not 0x80
11 /�/utf
12 Failed: error -3 at offset 0: UTF-8 error: 1 byte missing at end
14 /���xxx/utf
15 Failed: error -8 at offset 0: UTF-8 error: byte 2 top bits not 0x80
17 /��������/utf
18 Failed: error -22 at offset 2: UTF-8 error: isolated byte with 0x80 bit set
21 Failed: error -22 at offset 2: UTF-8 error: isolated byte with 0x80 bit set
25 /badutf/utf
26 \= Expect UTF-8 errors
28 Failed: error -3: UTF-8 error: 1 byte missing at end at offset 1
30 Failed: error -4: UTF-8 error: 2 bytes missing at end at offset 2
32 Failed: error -3: UTF-8 error: 1 byte missing at end at offset 3
34 Failed: error -5: UTF-8 error: 3 bytes missing at end at offset 1
36 Failed: error -4: UTF-8 error: 2 bytes missing at end at offset 2
38 Failed: error -3: UTF-8 error: 1 byte missing at end at offset 3
40 Failed: error -6: UTF-8 error: 4 bytes missing at end at offset 0
42 Failed: error -5: UTF-8 error: 3 bytes missing at end at offset 0
44 Failed: error -4: UTF-8 error: 2 bytes missing at end at offset 0
46 Failed: error -3: UTF-8 error: 1 byte missing at end at offset 0
48 Failed: error -7: UTF-8 error: 5 bytes missing at end at offset 0
50 Failed: error -6: UTF-8 error: 4 bytes missing at end at offset 0
52 Failed: error -5: UTF-8 error: 3 bytes missing at end at offset 0
54 Failed: error -4: UTF-8 error: 2 bytes missing at end at offset 0
56 Failed: error -3: UTF-8 error: 1 byte missing at end at offset 0
58 Failed: error -8: UTF-8 error: byte 2 top bits not 0x80 at offset 0
60 Failed: error -8: UTF-8 error: byte 2 top bits not 0x80 at offset 0
62 Failed: error -9: UTF-8 error: byte 3 top bits not 0x80 at offset 0
64 Failed: error -8: UTF-8 error: byte 2 top bits not 0x80 at offset 0
66 Failed: error -9: UTF-8 error: byte 3 top bits not 0x80 at offset 0
68 Failed: error -10: UTF-8 error: byte 4 top bits not 0x80 at offset 0
70 Failed: error -8: UTF-8 error: byte 2 top bits not 0x80 at offset 0
72 Failed: error -9: UTF-8 error: byte 3 top bits not 0x80 at offset 0
74 Failed: error -10: UTF-8 error: byte 4 top bits not 0x80 at offset 0
76 Failed: error -11: UTF-8 error: byte 5 top bits not 0x80 at offset 0
78 Failed: error -8: UTF-8 error: byte 2 top bits not 0x80 at offset 0
80 Failed: error -9: UTF-8 error: byte 3 top bits not 0x80 at offset 0
82 Failed: error -10: UTF-8 error: byte 4 top bits not 0x80 at offset 0
84 Failed: error -11: UTF-8 error: byte 5 top bits not 0x80 at offset 0
86 Failed: error -12: UTF-8 error: byte 6 top bits not 0x80 at offset 0
88 Failed: error -16: UTF-8 error: code points 0xd800-0xdfff are not defined at offset 0
90 Failed: error -17: UTF-8 error: overlong 2-byte sequence at offset 0
92 Failed: error -18: UTF-8 error: overlong 3-byte sequence at offset 0
94 Failed: error -19: UTF-8 error: overlong 4-byte sequence at offset 0
96 Failed: error -20: UTF-8 error: overlong 5-byte sequence at offset 0
98 Failed: error -21: UTF-8 error: overlong 6-byte sequence at offset 0
100 Failed: error -22: UTF-8 error: isolated byte with 0x80 bit set at offset 0
102 Failed: error -23: UTF-8 error: illegal byte (0xfe or 0xff) at offset 0
104 Failed: error -23: UTF-8 error: illegal byte (0xfe or 0xff) at offset 0
106 /badutf/utf
107 \= Expect UTF-8 errors
109 Failed: error -13: UTF-8 error: 5-byte character is not allowed (RFC 3629) at offset 2
111 Failed: error -14: UTF-8 error: 6-byte character is not allowed (RFC 3629) at offset 2
113 Failed: error -15: UTF-8 error: code points greater than 0x10ffff are not defined at offset 2
115 /shortutf/utf
116 \= Expect UTF-8 errors
118 Failed: error -3: UTF-8 error: 1 byte missing at end at offset 2
120 Failed: error -4: UTF-8 error: 2 bytes missing at end at offset 2
122 Failed: error -3: UTF-8 error: 1 byte missing at end at offset 2
124 Failed: error -5: UTF-8 error: 3 bytes missing at end at offset 0
126 Failed: error -4: UTF-8 error: 2 bytes missing at end at offset 0
128 Failed: error -3: UTF-8 error: 1 byte missing at end at offset 0
130 Failed: error -6: UTF-8 error: 4 bytes missing at end at offset 0
132 Failed: error -5: UTF-8 error: 3 bytes missing at end at offset 0
134 Failed: error -4: UTF-8 error: 2 bytes missing at end at offset 0
136 Failed: error -3: UTF-8 error: 1 byte missing at end at offset 0
138 Failed: error -7: UTF-8 error: 5 bytes missing at end at offset 0
140 Failed: error -6: UTF-8 error: 4 bytes missing at end at offset 0
142 Failed: error -5: UTF-8 error: 3 bytes missing at end at offset 0
144 Failed: error -4: UTF-8 error: 2 bytes missing at end at offset 0
146 Failed: error -3: UTF-8 error: 1 byte missing at end at offset 0
148 /anything/utf
149 \= Expect UTF-8 errors
151 Failed: error -17: UTF-8 error: overlong 2-byte sequence at offset 1
153 Failed: error -17: UTF-8 error: overlong 2-byte sequence at offset 2
155 Failed: error -18: UTF-8 error: overlong 3-byte sequence at offset 3
157 Failed: error -19: UTF-8 error: overlong 4-byte sequence at offset 0
159 Failed: error -20: UTF-8 error: overlong 5-byte sequence at offset 0
161 Failed: error -21: UTF-8 error: overlong 6-byte sequence at offset 0
163 Failed: error -23: UTF-8 error: illegal byte (0xfe or 0xff) at offset 0
165 Failed: error -23: UTF-8 error: illegal byte (0xfe or 0xff) at offset 0
167 Failed: error -13: UTF-8 error: 5-byte character is not allowed (RFC 3629) at offset 0
169 Failed: error -13: UTF-8 error: 5-byte character is not allowed (RFC 3629) at offset 0
171 Failed: error -14: UTF-8 error: 6-byte character is not allowed (RFC 3629) at offset 0
173 Failed: error -14: UTF-8 error: 6-byte character is not allowed (RFC 3629) at offset 0
196 /badutf/utf
197 \= Expect UTF-8 errors
199 Failed: error -8: UTF-8 error: byte 2 top bits not 0x80 at offset 1
201 Failed: error -8: UTF-8 error: byte 2 top bits not 0x80 at offset 1
206 /(?<=x)badutf/utf
207 \= Expect UTF-8 errors
209 Failed: error -8: UTF-8 error: byte 2 top bits not 0x80 at offset 1
211 Failed: error -8: UTF-8 error: byte 2 top bits not 0x80 at offset 1
213 Failed: error -8: UTF-8 error: byte 2 top bits not 0x80 at offset 1
215 Failed: error -3: UTF-8 error: 1 byte missing at end at offset 6
220 /(?<=xx)badutf/utf
221 \= Expect UTF-8 errors
223 Failed: error -8: UTF-8 error: byte 2 top bits not 0x80 at offset 1
225 Failed: error -8: UTF-8 error: byte 2 top bits not 0x80 at offset 1
227 Failed: error -8: UTF-8 error: byte 2 top bits not 0x80 at offset 1
229 Failed: error -8: UTF-8 error: byte 2 top bits not 0x80 at offset 1
231 /(?<=xxxx)badutf/utf
232 \= Expect UTF-8 errors
234 Failed: error -8: UTF-8 error: byte 2 top bits not 0x80 at offset 1
236 Failed: error -8: UTF-8 error: byte 2 top bits not 0x80 at offset 1
238 Failed: error -8: UTF-8 error: byte 2 top bits not 0x80 at offset 1
240 Failed: error -8: UTF-8 error: byte 2 top bits not 0x80 at offset 1
242 Failed: error -3: UTF-8 error: 1 byte missing at end at offset 5
244 Failed: error -33: bad offset value
249 /\x{100}/IB,utf
250 ------------------------------------------------------------------
255 ------------------------------------------------------------------
257 Options: utf
262 /\x{1000}/IB,utf
263 ------------------------------------------------------------------
268 ------------------------------------------------------------------
270 Options: utf
275 /\x{10000}/IB,utf
276 ------------------------------------------------------------------
281 ------------------------------------------------------------------
283 Options: utf
288 /\x{100000}/IB,utf
289 ------------------------------------------------------------------
294 ------------------------------------------------------------------
296 Options: utf
301 /\x{10ffff}/IB,utf
302 ------------------------------------------------------------------
307 ------------------------------------------------------------------
309 Options: utf
314 /[\x{ff}]/IB,utf
315 ------------------------------------------------------------------
320 ------------------------------------------------------------------
322 Options: utf
327 /[\x{100}]/IB,utf
328 ------------------------------------------------------------------
333 ------------------------------------------------------------------
335 Options: utf
340 /\x80/IB,utf
341 ------------------------------------------------------------------
346 ------------------------------------------------------------------
348 Options: utf
353 /\xff/IB,utf
354 ------------------------------------------------------------------
359 ------------------------------------------------------------------
361 Options: utf
366 /\x{D55c}\x{ad6d}\x{C5B4}/IB,utf
367 ------------------------------------------------------------------
372 ------------------------------------------------------------------
374 Options: utf
381 /\x{65e5}\x{672c}\x{8a9e}/IB,utf
382 ------------------------------------------------------------------
384 \x{65e5}\x{672c}\x{8a9e}
387 ------------------------------------------------------------------
389 Options: utf
393 \x{65e5}\x{672c}\x{8a9e}
394 0: \x{65e5}\x{672c}\x{8a9e}
396 /\x{80}/IB,utf
397 ------------------------------------------------------------------
402 ------------------------------------------------------------------
404 Options: utf
409 /\x{084}/IB,utf
410 ------------------------------------------------------------------
415 ------------------------------------------------------------------
417 Options: utf
422 /\x{104}/IB,utf
423 ------------------------------------------------------------------
428 ------------------------------------------------------------------
430 Options: utf
435 /\x{861}/IB,utf
436 ------------------------------------------------------------------
441 ------------------------------------------------------------------
443 Options: utf
448 /\x{212ab}/IB,utf
449 ------------------------------------------------------------------
454 ------------------------------------------------------------------
456 Options: utf
461 /[^ab\xC0-\xF0]/IB,utf
462 ------------------------------------------------------------------
464 [\x00-`c-\xbf\xf1-\xff] (neg)
467 ------------------------------------------------------------------
469 Options: utf
472 \x1a \x1b \x1c \x1d \x1e \x1f \x20 ! " # $ % & ' ( ) * + , - . / 0 1 2 3 4
473 5 6 7 8 9 : ; < = > ? @ 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
495 /Ā{3,4}/IB,utf
496 ------------------------------------------------------------------
502 ------------------------------------------------------------------
504 Options: utf
511 /(\x{100}+|x)/IB,utf
512 ------------------------------------------------------------------
521 ------------------------------------------------------------------
523 Options: utf
527 /(\x{100}*a|x)/IB,utf
528 ------------------------------------------------------------------
538 ------------------------------------------------------------------
540 Options: utf
544 /(\x{100}{0,2}a|x)/IB,utf
545 ------------------------------------------------------------------
555 ------------------------------------------------------------------
557 Options: utf
561 /(\x{100}{1,2}a|x)/IB,utf
562 ------------------------------------------------------------------
573 ------------------------------------------------------------------
575 Options: utf
579 /\x{100}/IB,utf
580 ------------------------------------------------------------------
585 ------------------------------------------------------------------
587 Options: utf
592 /a\x{100}\x{101}*/IB,utf
593 ------------------------------------------------------------------
599 ------------------------------------------------------------------
601 Options: utf
606 /a\x{100}\x{101}+/IB,utf
607 ------------------------------------------------------------------
613 ------------------------------------------------------------------
615 Options: utf
621 ------------------------------------------------------------------
626 ------------------------------------------------------------------
630 /[\x{100}]/IB,utf
631 ------------------------------------------------------------------
636 ------------------------------------------------------------------
638 Options: utf
649 /[\xff]/IB,utf
650 ------------------------------------------------------------------
655 ------------------------------------------------------------------
657 Options: utf
664 /[^\xff]/IB,utf
665 ------------------------------------------------------------------
670 ------------------------------------------------------------------
672 Options: utf
675 /\x{100}abc(xyz(?1))/IB,utf
676 ------------------------------------------------------------------
685 ------------------------------------------------------------------
687 Options: utf
692 /\777/I,utf
694 Options: utf
703 /\x{100}+\x{200}/IB,utf
704 ------------------------------------------------------------------
710 ------------------------------------------------------------------
712 Options: utf
717 /\x{100}+X/IB,utf
718 ------------------------------------------------------------------
724 ------------------------------------------------------------------
726 Options: utf
731 /^[\QĀ\E-\QŐ\E/B,utf
734 # This tests the stricter UTF-8 check according to RFC 3629.
736 /X/utf
737 \= Expect UTF-8 errors
739 Failed: error -16: UTF-8 error: code points 0xd800-0xdfff are not defined at offset 0
741 Failed: error -16: UTF-8 error: code points 0xd800-0xdfff are not defined at offset 0
743 Failed: error -16: UTF-8 error: code points 0xd800-0xdfff are not defined at offset 0
745 Failed: error -15: UTF-8 error: code points greater than 0x10ffff are not defined at offset 0
747 Failed: error -13: UTF-8 error: 5-byte character is not allowed (RFC 3629) at offset 0
749 Failed: error -14: UTF-8 error: 6-byte character is not allowed (RFC 3629) at offset 0
768 /(*CRLF)(*UTF)(*BSR_UNICODE)a\Rb/I
771 Overall options: utf
778 /\h/I,utf
780 Options: utf
802 /\v/I,utf
804 Options: utf
820 /\h*A/I,utf
822 Options: utf
829 /\v+A/I,utf
831 Options: utf
836 /\s?xxx\s/I,utf
838 Options: utf
843 /\sxxx\s/I,utf,tables=2
845 Options: utf
854 /\S \S/I,utf,tables=2
856 Options: utf
859 \x1f ! " # $ % & ' ( ) * + , - . / 0 1 2 3 4 5 6 7 8 9 : ; < = > ? @ A B C
873 /a+/utf
882 Failed: error -33: bad offset value
883 \= Expect bad UTF-8 offset
885 Error -36 (bad UTF-8 offset)
890 /\x{1234}+/Ii,utf
892 Options: caseless utf
896 /\x{1234}+?/Ii,utf
898 Options: caseless utf
902 /\x{1234}++/Ii,utf
904 Options: caseless utf
908 /\x{1234}{2}/Ii,utf
910 Options: caseless utf
914 /[^\x{c4}]/IB,utf
915 ------------------------------------------------------------------
920 ------------------------------------------------------------------
922 Options: utf
925 /X+\x{200}/IB,utf
926 ------------------------------------------------------------------
932 ------------------------------------------------------------------
934 Options: utf
939 /\R/I,utf
941 Options: utf
945 /\777/IB,utf
946 ------------------------------------------------------------------
951 ------------------------------------------------------------------
953 Options: utf
958 /\w+\x{C4}/B,utf
959 ------------------------------------------------------------------
965 ------------------------------------------------------------------
969 /\w+\x{C4}/B,utf,tables=2
970 ------------------------------------------------------------------
976 ------------------------------------------------------------------
980 /\W+\x{C4}/B,utf
981 ------------------------------------------------------------------
987 ------------------------------------------------------------------
991 /\W+\x{C4}/B,utf,tables=2
992 ------------------------------------------------------------------
998 ------------------------------------------------------------------
1002 /\W+\x{A1}/B,utf
1003 ------------------------------------------------------------------
1009 ------------------------------------------------------------------
1013 /\W+\x{A1}/B,utf,tables=2
1014 ------------------------------------------------------------------
1020 ------------------------------------------------------------------
1024 /X\s+\x{A0}/B,utf
1025 ------------------------------------------------------------------
1032 ------------------------------------------------------------------
1036 /X\s+\x{A0}/B,utf,tables=2
1037 ------------------------------------------------------------------
1044 ------------------------------------------------------------------
1048 /\S+\x{A0}/B,utf
1049 ------------------------------------------------------------------
1055 ------------------------------------------------------------------
1059 /\S+\x{A0}/B,utf,tables=2
1060 ------------------------------------------------------------------
1066 ------------------------------------------------------------------
1070 /\x{a0}+\s!/B,utf
1071 ------------------------------------------------------------------
1078 ------------------------------------------------------------------
1082 /\x{a0}+\s!/B,utf,tables=2
1083 ------------------------------------------------------------------
1090 ------------------------------------------------------------------
1094 /A/utf
1096 ** Character \x{ff000041} is greater than 0x7fffffff and so cannot be converted to UTF-8
1098 Failed: error -14: UTF-8 error: 6-byte character is not allowed (RFC 3629) at offset 0
1101 Failed: error 174 at offset 7: using UTF is disabled by the application
1103 /abc/utf,never_utf
1104 Failed: error 174 at offset 0: using UTF is disabled by the application
1106 /A\x{391}\x{10427}\x{ff3a}\x{1fb0}/IBi,utf
1107 ------------------------------------------------------------------
1112 ------------------------------------------------------------------
1114 Options: caseless utf
1118 /A\x{391}\x{10427}\x{ff3a}\x{1fb0}/IB,utf
1119 ------------------------------------------------------------------
1124 ------------------------------------------------------------------
1126 Options: utf
1131 /AB\x{1fb0}/IB,utf
1132 ------------------------------------------------------------------
1137 ------------------------------------------------------------------
1139 Options: utf
1144 /AB\x{1fb0}/IBi,utf
1145 ------------------------------------------------------------------
1150 ------------------------------------------------------------------
1152 Options: caseless utf
1157 …}\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}/Ii,utf
1159 Options: caseless utf
1167 /[ⱥ]/Bi,utf
1168 ------------------------------------------------------------------
1173 ------------------------------------------------------------------
1175 /[^ⱥ]/Bi,utf
1176 ------------------------------------------------------------------
1181 ------------------------------------------------------------------
1199 ------------------------------------------------------------------
1204 ------------------------------------------------------------------
1206 /\x{212a}+/Ii,utf
1208 Options: caseless utf
1214 /s+/Ii,utf
1216 Options: caseless utf
1222 /\x{100}*A/IB,utf
1223 ------------------------------------------------------------------
1229 ------------------------------------------------------------------
1231 Options: utf
1238 /\x{100}*\d(?R)/IB,utf
1239 ------------------------------------------------------------------
1246 ------------------------------------------------------------------
1248 Options: utf
1249 Starting code units: 0 1 2 3 4 5 6 7 8 9 \xc4
1252 /[Z\x{100}]/IB,utf
1253 ------------------------------------------------------------------
1258 ------------------------------------------------------------------
1260 Options: utf
1270 /[z-\x{100}]/IB,utf
1271 ------------------------------------------------------------------
1273 [z-\xff\x{100}]
1276 ------------------------------------------------------------------
1278 Options: utf
1282 /[z\Qa-d]Ā\E]/IB,utf
1283 ------------------------------------------------------------------
1285 [\-\]adz\x{100}]
1288 ------------------------------------------------------------------
1290 Options: utf
1291 Starting code units: - ] a d z \xc4
1298 /[ab\x{100}]abc(xyz(?1))/IB,utf
1299 ------------------------------------------------------------------
1309 ------------------------------------------------------------------
1311 Options: utf
1316 /\x{100}*\s/IB,utf
1317 ------------------------------------------------------------------
1323 ------------------------------------------------------------------
1325 Options: utf
1329 /\x{100}*\d/IB,utf
1330 ------------------------------------------------------------------
1336 ------------------------------------------------------------------
1338 Options: utf
1339 Starting code units: 0 1 2 3 4 5 6 7 8 9 \xc4
1342 /\x{100}*\w/IB,utf
1343 ------------------------------------------------------------------
1349 ------------------------------------------------------------------
1351 Options: utf
1352 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
1357 /\x{100}*\D/IB,utf
1358 ------------------------------------------------------------------
1364 ------------------------------------------------------------------
1366 Options: utf
1369 \x1a \x1b \x1c \x1d \x1e \x1f \x20 ! " # $ % & ' ( ) * + , - . / : ; < = >
1379 /\x{100}*\S/IB,utf
1380 ------------------------------------------------------------------
1386 ------------------------------------------------------------------
1388 Options: utf
1391 \x1f ! " # $ % & ' ( ) * + , - . / 0 1 2 3 4 5 6 7 8 9 : ; < = > ? @ A B C
1400 /\x{100}*\W/IB,utf
1401 ------------------------------------------------------------------
1407 ------------------------------------------------------------------
1409 Options: utf
1412 \x1a \x1b \x1c \x1d \x1e \x1f \x20 ! " # $ % & ' ( ) * + , - . / : ; < = >
1420 /[\x{105}-\x{109}]/IBi,utf
1421 ------------------------------------------------------------------
1423 [\x{104}-\x{109}]
1426 ------------------------------------------------------------------
1428 Options: caseless utf
1443 /[z-\x{100}]/IBi,utf
1444 ------------------------------------------------------------------
1446 [Zz-\xff\x{39c}\x{3bc}\x{212b}\x{1e9e}\x{212b}\x{178}\x{100}-\x{101}]
1449 ------------------------------------------------------------------
1451 Options: caseless utf
1480 /[z-\x{100}]/IBi,utf
1481 ------------------------------------------------------------------
1483 [Zz-\xff\x{39c}\x{3bc}\x{212b}\x{1e9e}\x{212b}\x{178}\x{100}-\x{101}]
1486 ------------------------------------------------------------------
1488 Options: caseless utf
1492 /\x{3a3}B/IBi,utf
1493 ------------------------------------------------------------------
1499 ------------------------------------------------------------------
1501 Options: caseless utf
1506 /abc/utf,replace=�
1508 Failed: error -3: UTF-8 error: 1 byte missing at end
1510 /(?<=(a)(?-1))x/I,utf
1513 Options: utf
1517 Failed: error -22: UTF-8 error: isolated byte with 0x80 bit set at offset 1
1520 ------------------------------------------------------------------
1522 [\x00-/:-@[-^`{-\xff\p{Any}]
1525 ------------------------------------------------------------------
1532 ------------------------------------------------------------------
1534 [\x00-/:-@[-^`{-\xff\p{L}]
1537 ------------------------------------------------------------------
1544 …++++++++++++++++++++++++++++++++++++++++-++++++++k+++++++''''+++'+++++++++++++++++++++++''''++++++…
1548 ------------------------------------------------------------------
1550 [\x80-\xff\p{Xsp}]
1553 ------------------------------------------------------------------
1555 # A special extra option allows excaped surrogate code points in 8-bit mode,
1556 # but subjects containing them must not be UTF-checked.
1558 /\x{d800}/I,utf,allow_surrogate_escapes
1560 Options: utf
1568 /\udfff\o{157401}/utf,alt_bsux,allow_surrogate_escapes
1572 # This has different starting code units in 8-bit mode.
1574 /^[^ab]/IB,utf
1575 ------------------------------------------------------------------
1578 [\x00-`c-\xff] (neg)
1581 ------------------------------------------------------------------
1583 Compile options: utf
1584 Overall options: anchored utf
1587 \x1a \x1b \x1c \x1d \x1e \x1f \x20 ! " # $ % & ' ( ) * + , - . / 0 1 2 3 4
1588 5 6 7 8 9 : ; < = > ? @ 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
1606 # Offsets are different in 8-bit mode.
1608 /(?<=abc)(|def)/g,utf,replace=<$0>,substitute_callout
1610 1(2) Old 6 6 "" New 6 8 "<>"
1616 # Check name length with non-ASCII characters
1618 …678901234567890123456789AB012345678901234567890123456789AB012345678901234567890123456789AB'...)/utf
1620 …678901234567890123456789AB012345678901234567890123456789AB012345678901234567890123456789AB'...)/utf
1623 …678901234567890123456789AB012345678901234567890123456789AB012345678901234567890123456789AB'...)/utf
1625 /(?(n/utf
1628 /(?(á/utf
1631 # Invalid UTF-8 tests
1764 # -------------------------------------
1766 /(*UTF)(?=\x{123})/I
1770 Overall options: utf
1775 /[\x{c1}\x{e1}]X[\x{145}\x{146}]/I,utf
1777 Options: utf
1782 /[��,]/BI,utf
1783 ------------------------------------------------------------------
1788 ------------------------------------------------------------------
1790 Options: utf
1794 /[\x{fff4}-\x{ffff8}]/I,utf
1796 Options: utf
1800 /[\x{fff4}-\x{afff8}\x{10ffff}]/I,utf
1802 Options: utf
1806 /[\xff\x{ffff}]/I,utf
1808 Options: utf
1812 /[\xff\x{ff}]/I,utf
1814 Options: utf
1832 /[Ss]/I,utf
1834 Options: utf
1838 /(?:\x{ff}|\x{3000})/I,utf
1840 Options: utf
1844 /x/utf
1848 Failed: error -22: UTF-8 error: isolated byte with 0x80 bit set at offset 0
1850 Failed: error -22: UTF-8 error: isolated byte with 0x80 bit set at offset 3
1852 Error -36 (bad UTF-8 offset)
1855 ------------------------------------------------------------------
1861 ------------------------------------------------------------------
1880 /a|\x{c1}/iI,utf
1882 Options: caseless utf
1902 # Without UTF or UCP characters > 127 have only one case in the default locale.
1908 /A/utf,match_invalid_utf,caseless
1912 /\bch\b/utf,match_invalid_utf
1918 /line1\nbreak/firstline,utf,match_invalid_utf
1924 /A\z/utf,match_invalid_utf