1 /-- This set of tests checks UTF-8 support with the DFA matching functionality
2 of pcre_dfa_exec(), excluding Unicode property support. The -dfa flag must
3 be used with pcretest when running it. --/
53 /^[abc\x{123}\x{400}-\x{402}]{2,3}\d/8
56 \x{400}\x{401}\x{402}6
61 \x{400}\x{401}\x{402}\x{402}6
111 a\x{1234}\x{4321}\x{3412}b
119 a\x{1234}\x{4321}\x{3412}b
121 a\x{1234}\x{4321}\x{3412}\x{3421}b
128 a\x{1234}\x{4321}\x{3412}b
130 a\x{1234}\x{4321}\x{3412}\x{3421}b
137 a\x{1234}\x{4321}\x{3412}b
139 a\x{1234}\x{4321}\x{3412}\x{3421}b
149 a\x{1234}\x{4321}\x{3412}b
151 a\x{1234}\x{4321}\x{3412}\x{3421}b
168 /(?<=a\x{100000}b)cd/8
172 \x{100}\x{100}\x{100}b
223 \x{100}\x{100}\x{100}\x{100}
227 \x{100}\x{100}\x{100}\x{100}
230 abcd\x{100}\x{100}\x{100}\x{100}
233 abcd\x{100}\x{100}\x{100}\x{100}
236 abcd\x{100}\x{100}\x{100}\x{100}
239 abcd\x{100}\x{100}\x{100}XX
242 abcd\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}XX
245 abcd\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}XX
247 /(?<=a\x{100}{2}b)X/8
248 Xyyya\x{100}\x{100}bXzzz
251 aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
254 \x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}
409 /[Q\x{100}-\x{200}]/8
425 /[\x{100}\x{200}]{1,3}/8
428 ab\x{200}\x{100}\x{200}\x{100}cd
431 /[\x{100}\x{200}]{1,3}?/8
434 ab\x{200}\x{100}\x{200}\x{100}cd
437 /[Q\x{100}\x{200}]{1,3}/8
440 ab\x{200}\x{100}\x{200}\x{100}cd
443 /[Q\x{100}\x{200}]{1,3}?/8
446 ab\x{200}\x{100}\x{200}\x{100}cd
449 /(?<=[\x{100}\x{200}])X/8
455 /(?<=[Q\x{100}\x{200}])X/8
462 /(?<=[\x{100}\x{200}]{3})X/8
463 abc\x{100}\x{200}\x{100}X
468 /[^\x{100}\x{200}]X/8
476 /[^Q\x{100}\x{200}]X/8
485 /[^\x{100}-\x{200}]X/8
537 abc1 \x0aabc2 \x0babc3xx \x0cabc4 \x0dabc5xx \x0d\x0aabc6 \x{0085}abc7 \x{2028}abc8 \x{2029}abc9 JUNK
540 abc1\x0a abc2\x0b abc3\x0c abc4\x0d abc5\x0d\x0a abc6\x{0085} abc7\x{2028} abc8\x{2029} abc9
542 /^a\Rb/8<bsr_unicode>
554 /^a\R*b/8<bsr_unicode>
560 a\x0c\x{2028}\x{2029}b
565 /^a\R+b/8<bsr_unicode>
570 a\x0c\x{2028}\x{2029}b
577 /^a\R{1,3}b/8<bsr_unicode>
590 \x09\x20\x{a0}X\x0a\x0b\x0c\x0d\x0a
593 \x20\x{a0}X\x0a\x0b\x0c\x0d\x0a
596 >\x09\x20\x{a0}X\x0a\x0a\x0a<
599 >\x09\x20\x{a0}X\x0a\x0a\x0a<
608 \x09\x20\x{a0}X\x0a\x0b\x0c\x0d\x0a
609 \x09\x20\x{a0}\x0a\x0b\x0c\x0d\x0a
610 \x09\x20\x{a0}\x0a\x0b\x0c
612 \x09\x20\x{a0}\x0a\x0b
615 \x{3001}\x{3000}\x{2030}\x{2028}
621 \x{1680}\x{180e}\x{2007}X\x{2028}\x{2029}\x0c\x0d\x0a
622 \x09\x{205f}\x{a0}\x0a\x{2029}\x0c\x{2028}\x0a
623 \x09\x20\x{202f}\x0a\x0b\x0c
625 \x09\x{200a}\x{a0}\x{2028}\x0b
627 /a\Rb/I8<bsr_anycrlf>
635 /a\Rb/I8<bsr_unicode>
642 a\x{85}b\<bsr_anycrlf>
645 /a\R?b/I8<bsr_anycrlf>
653 /a\R?b/I8<bsr_unicode>
660 a\x{85}b\<bsr_anycrlf>
719 /-- End of testinput9 --/