Annotation of embedaddon/pcre/testdata/testinput18, revision 1.1
1.1 ! misho 1: /-- This set of tests is for UTF-16 support, and is relevant only to the 16-bit
! 2: library. --/
! 3:
! 4: /xxx/8?DZSS
! 5:
! 6: /abc/8
! 7: ]
! 8:
! 9: /X(\C{3})/8
! 10: X\x{11234}Y
! 11:
! 12: /X(\C{4})/8
! 13: X\x{11234}YZ
! 14:
! 15: /X\C*/8
! 16: XYZabcdce
! 17:
! 18: /X\C*?/8
! 19: XYZabcde
! 20:
! 21: /X\C{3,5}/8
! 22: Xabcdefg
! 23: X\x{11234}Y
! 24: X\x{11234}YZ
! 25: X\x{11234}\x{512}
! 26: X\x{11234}\x{512}YZ
! 27: X\x{11234}\x{512}\x{11234}Z
! 28:
! 29: /X\C{3,5}?/8
! 30: Xabcdefg
! 31: X\x{11234}Y
! 32: X\x{11234}YZ
! 33: X\x{11234}\x{512}YZ
! 34: *** Failers
! 35: X\x{11234}
! 36:
! 37: /a\Cb/8
! 38: aXb
! 39: a\nb
! 40:
! 41: /a\C\Cb/8
! 42: a\x{12257}b
! 43: ** Failers
! 44: a\x{100}b
! 45:
! 46: /ab\Cde/8
! 47: abXde
! 48:
! 49: /-- Check maximum character size --/
! 50:
! 51: /\x{ffff}/8DZ
! 52:
! 53: /\x{10000}/8DZ
! 54:
! 55: /\x{100}/8DZ
! 56:
! 57: /\x{1000}/8DZ
! 58:
! 59: /\x{10000}/8DZ
! 60:
! 61: /\x{100000}/8DZ
! 62:
! 63: /\x{10ffff}/8DZ
! 64:
! 65: /[\x{ff}]/8DZ
! 66:
! 67: /[\x{100}]/8DZ
! 68:
! 69: /\x80/8DZ
! 70:
! 71: /\xff/8DZ
! 72:
! 73: /\x{D55c}\x{ad6d}\x{C5B4}/DZ8
! 74: \x{D55c}\x{ad6d}\x{C5B4}
! 75:
! 76: /\x{65e5}\x{672c}\x{8a9e}/DZ8
! 77: \x{65e5}\x{672c}\x{8a9e}
! 78:
! 79: /\x{80}/DZ8
! 80:
! 81: /\x{084}/DZ8
! 82:
! 83: /\x{104}/DZ8
! 84:
! 85: /\x{861}/DZ8
! 86:
! 87: /\x{212ab}/DZ8
! 88:
! 89: /-- This one is here not because it's different to Perl, but because the way
! 90: the captured single-byte is displayed. (In Perl it becomes a character, and you
! 91: can't tell the difference.) --/
! 92:
! 93: /X(\C)(.*)/8
! 94: X\x{1234}
! 95: X\nabc
! 96:
! 97: /-- This one is here because Perl gives out a grumbly error message (quite
! 98: correctly, but that messes up comparisons). --/
! 99:
! 100: /a\Cb/8
! 101: *** Failers
! 102: a\x{100}b
! 103:
! 104: /[^ab\xC0-\xF0]/8SDZ
! 105: \x{f1}
! 106: \x{bf}
! 107: \x{100}
! 108: \x{1000}
! 109: *** Failers
! 110: \x{c0}
! 111: \x{f0}
! 112:
! 113: /Ā{3,4}/8SDZ
! 114: \x{100}\x{100}\x{100}\x{100\x{100}
! 115:
! 116: /(\x{100}+|x)/8SDZ
! 117:
! 118: /(\x{100}*a|x)/8SDZ
! 119:
! 120: /(\x{100}{0,2}a|x)/8SDZ
! 121:
! 122: /(\x{100}{1,2}a|x)/8SDZ
! 123:
! 124: /\x{100}/8DZ
! 125:
! 126: /a\x{100}\x{101}*/8DZ
! 127:
! 128: /a\x{100}\x{101}+/8DZ
! 129:
! 130: /[^\x{c4}]/DZ
! 131:
! 132: /[\x{100}]/8DZ
! 133: \x{100}
! 134: Z\x{100}
! 135: \x{100}Z
! 136: *** Failers
! 137:
! 138: /[\xff]/DZ8
! 139: >\x{ff}<
! 140:
! 141: /[^\xff]/8DZ
! 142:
! 143: /\x{100}abc(xyz(?1))/8DZ
! 144:
! 145: /\777/8I
! 146: \x{1ff}
! 147: \777
! 148:
! 149: /\x{100}+\x{200}/8DZ
! 150:
! 151: /\x{100}+X/8DZ
! 152:
! 153: /^[\QĀ\E-\QŐ\E/BZ8
! 154:
! 155: /X/8
! 156: \x{0}\x{d7ff}\x{e000}\x{10ffff}
! 157: \x{d800}
! 158: \x{d800}\?
! 159: \x{da00}
! 160: \x{da00}\?
! 161: \x{dc00}
! 162: \x{dc00}\?
! 163: \x{de00}
! 164: \x{de00}\?
! 165: \x{dfff}
! 166: \x{dfff}\?
! 167: \x{110000}
! 168: \x{d800}\x{1234}
! 169: \x{fffe}
! 170:
! 171: /(*UTF16)\x{11234}/
! 172: abcd\x{11234}pqr
! 173:
! 174: /(*CRLF)(*UTF16)(*BSR_UNICODE)a\Rb/I
! 175:
! 176: /\h/SI8
! 177: ABC\x{09}
! 178: ABC\x{20}
! 179: ABC\x{a0}
! 180: ABC\x{1680}
! 181: ABC\x{180e}
! 182: ABC\x{2000}
! 183: ABC\x{202f}
! 184: ABC\x{205f}
! 185: ABC\x{3000}
! 186:
! 187: /\v/SI8
! 188: ABC\x{0a}
! 189: ABC\x{0b}
! 190: ABC\x{0c}
! 191: ABC\x{0d}
! 192: ABC\x{85}
! 193: ABC\x{2028}
! 194:
! 195: /\h*A/SI8
! 196: CDBABC
! 197:
! 198: /\v+A/SI8
! 199:
! 200: /\s?xxx\s/8SI
! 201:
! 202: /\sxxx\s/I8ST1
! 203: AB\x{85}xxx\x{a0}XYZ
! 204: AB\x{a0}xxx\x{85}XYZ
! 205:
! 206: /\S \S/I8ST1
! 207: \x{a2} \x{84}
! 208: A Z
! 209:
! 210: /a+/8
! 211: a\x{123}aa\>1
! 212: a\x{123}aa\>2
! 213: a\x{123}aa\>3
! 214: a\x{123}aa\>4
! 215: a\x{123}aa\>5
! 216: a\x{123}aa\>6
! 217:
! 218: /\x{1234}+/iS8I
! 219:
! 220: /\x{1234}+?/iS8I
! 221:
! 222: /\x{1234}++/iS8I
! 223:
! 224: /\x{1234}{2}/iS8I
! 225:
! 226: /[^\x{c4}]/8DZ
! 227:
! 228: /X+\x{200}/8DZ
! 229:
! 230: /\R/SI8
! 231:
! 232: /-- Check bad offset --/
! 233:
! 234: /a/8
! 235: \x{10000}\>1
! 236: \x{10000}ab\>2
! 237: \x{10000}ab\>3
! 238: \x{10000}ab\>4
! 239: \x{10000}ab\>5
! 240:
! 241: //8
! 242:
! 243: /-- End of testinput18 --/
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>