|
|
# This set of tests checks UTF and Unicode property support with the DFA # matching functionality of pcre2_dfa_match(). A default subject modifier is # used to force DFA matching for all tests.
#subject dfa #newline_default LF any anyCRLF
/\x{100}ab/utf \x{100}ab 0: \x{100}ab /a\x{100}*b/utf ab 0: ab a\x{100}b 0: a\x{100}b a\x{100}\x{100}b 0: a\x{100}\x{100}b /a\x{100}+b/utf a\x{100}b 0: a\x{100}b a\x{100}\x{100}b 0: a\x{100}\x{100}b \= Expect no match ab No match /\bX/utf Xoanon 0: X +Xoanon 0: X \x{300}Xoanon 0: X \= Expect no match YXoanon No match /\BX/utf YXoanon 0: X \= Expect no match Xoanon No match +Xoanon No match \x{300}Xoanon No match
/X\b/utf X+oanon 0: X ZX\x{300}oanon 0: X FAX 0: X \= Expect no match Xoanon No match /X\B/utf Xoanon 0: X \= Expect no match X+oanon No match ZX\x{300}oanon No match FAX No match /[^a]/utf abcd 0: b a\x{100} 0: \x{100}
/^[abc\x{123}\x{400}-\x{402}]{2,3}\d/utf ab99 0: ab9 \x{123}\x{123}45 0: \x{123}\x{123}4 \x{400}\x{401}\x{402}6 0: \x{400}\x{401}\x{402}6 \= Expect no match d99 No match \x{123}\x{122}4 No match \x{400}\x{403}6 No match \x{400}\x{401}\x{402}\x{402}6 No match
/a.b/utf acb 0: acb a\x7fb 0: a\x{7f}b a\x{100}b 0: a\x{100}b \= Expect no match a\nb No match
/a(.{3})b/utf a\x{4000}xyb 0: a\x{4000}xyb a\x{4000}\x7fyb 0: a\x{4000}\x{7f}yb a\x{4000}\x{100}yb 0: a\x{4000}\x{100}yb \= Expect no match a\x{4000}b No match ac\ncb No match
/a(.*?)(.)/ a\xc0\x88b 0: a\xc0\x88b 1: a\xc0\x88 2: a\xc0
/a(.*?)(.)/utf a\x{100}b 0: a\x{100}b 1: a\x{100}
/a(.*)(.)/ a\xc0\x88b 0: a\xc0\x88b 1: a\xc0\x88 2: a\xc0
/a(.*)(.)/utf a\x{100}b 0: a\x{100}b 1: a\x{100}
/a(.)(.)/ a\xc0\x92bcd 0: a\xc0\x92
/a(.)(.)/utf a\x{240}bcd 0: a\x{240}b
/a(.?)(.)/ a\xc0\x92bcd 0: a\xc0\x92 1: a\xc0
/a(.?)(.)/utf a\x{240}bcd 0: a\x{240}b 1: a\x{240}
/a(.??)(.)/ a\xc0\x92bcd 0: a\xc0\x92 1: a\xc0
/a(.??)(.)/utf a\x{240}bcd 0: a\x{240}b 1: a\x{240}
/a(.{3})b/utf a\x{1234}xyb 0: a\x{1234}xyb a\x{1234}\x{4321}yb 0: a\x{1234}\x{4321}yb a\x{1234}\x{4321}\x{3412}b 0: a\x{1234}\x{4321}\x{3412}b \= Expect no match a\x{1234}b No match ac\ncb No match
/a(.{3,})b/utf a\x{1234}xyb 0: a\x{1234}xyb a\x{1234}\x{4321}yb 0: a\x{1234}\x{4321}yb a\x{1234}\x{4321}\x{3412}b 0: a\x{1234}\x{4321}\x{3412}b axxxxbcdefghijb 0: axxxxbcdefghijb 1: axxxxb a\x{1234}\x{4321}\x{3412}\x{3421}b 0: a\x{1234}\x{4321}\x{3412}\x{3421}b \= Expect no match a\x{1234}b No match
/a(.{3,}?)b/utf a\x{1234}xyb 0: a\x{1234}xyb a\x{1234}\x{4321}yb 0: a\x{1234}\x{4321}yb a\x{1234}\x{4321}\x{3412}b 0: a\x{1234}\x{4321}\x{3412}b axxxxbcdefghijb 0: axxxxbcdefghijb 1: axxxxb a\x{1234}\x{4321}\x{3412}\x{3421}b 0: a\x{1234}\x{4321}\x{3412}\x{3421}b \= Expect no match a\x{1234}b No match
/a(.{3,5})b/utf a\x{1234}xyb 0: a\x{1234}xyb a\x{1234}\x{4321}yb 0: a\x{1234}\x{4321}yb a\x{1234}\x{4321}\x{3412}b 0: a\x{1234}\x{4321}\x{3412}b axxxxbcdefghijb 0: axxxxb a\x{1234}\x{4321}\x{3412}\x{3421}b 0: a\x{1234}\x{4321}\x{3412}\x{3421}b axbxxbcdefghijb 0: axbxxb axxxxxbcdefghijb 0: axxxxxb \= Expect no match a\x{1234}b No match axxxxxxbcdefghijb No match
/a(.{3,5}?)b/utf a\x{1234}xyb 0: a\x{1234}xyb a\x{1234}\x{4321}yb 0: a\x{1234}\x{4321}yb a\x{1234}\x{4321}\x{3412}b 0: a\x{1234}\x{4321}\x{3412}b axxxxbcdefghijb 0: axxxxb a\x{1234}\x{4321}\x{3412}\x{3421}b 0: a\x{1234}\x{4321}\x{3412}\x{3421}b axbxxbcdefghijb 0: axbxxb axxxxxbcdefghijb 0: axxxxxb \= Expect no match a\x{1234}b No match axxxxxxbcdefghijb No match
/^[a\x{c0}]/utf \= Expect no match \x{100} No match
/(?<=aXb)cd/utf aXbcd 0: cd
/(?<=a\x{100}b)cd/utf a\x{100}bcd 0: cd
/(?<=a\x{100000}b)cd/utf a\x{100000}bcd 0: cd /(?:\x{100}){3}b/utf \x{100}\x{100}\x{100}b 0: \x{100}\x{100}\x{100}b \= Expect no match \x{100}\x{100}b No match
/\x{ab}/utf \x{ab} 0: \x{ab} \xc2\xab 0: \x{ab} \= Expect no match \x00{ab} No match
/(?<=(.))X/utf WXYZ 0: X \x{256}XYZ 0: X \= Expect no match XYZ No match
/[^a]+/g,utf bcd 0: bcd \x{100}aY\x{256}Z 0: \x{100} 0: Y\x{256}Z /^[^a]{2}/utf \x{100}bc 0: \x{100}b /^[^a]{2,}/utf \x{100}bcAa 0: \x{100}bcA
/^[^a]{2,}?/utf \x{100}bca 0: \x{100}bc 1: \x{100}b
/[^a]+/gi,utf bcd 0: bcd \x{100}aY\x{256}Z 0: \x{100} 0: Y\x{256}Z /^[^a]{2}/i,utf \x{100}bc 0: \x{100}b /^[^a]{2,}/i,utf \x{100}bcAa 0: \x{100}bc
/^[^a]{2,}?/i,utf \x{100}bca 0: \x{100}bc 1: \x{100}b
/\x{100}{0,0}/utf abcd 0: /\x{100}?/utf abcd 0: \x{100}\x{100} 0: \x{100}
/\x{100}{0,3}/utf \x{100}\x{100} 0: \x{100}\x{100} \x{100}\x{100}\x{100}\x{100} 0: \x{100}\x{100}\x{100} /\x{100}*/utf abce 0: \x{100}\x{100}\x{100}\x{100} 0: \x{100}\x{100}\x{100}\x{100}
/\x{100}{1,1}/utf abcd\x{100}\x{100}\x{100}\x{100} 0: \x{100}
/\x{100}{1,3}/utf abcd\x{100}\x{100}\x{100}\x{100} 0: \x{100}\x{100}\x{100}
/\x{100}+/utf abcd\x{100}\x{100}\x{100}\x{100} 0: \x{100}\x{100}\x{100}\x{100}
/\x{100}{3}/utf abcd\x{100}\x{100}\x{100}XX 0: \x{100}\x{100}\x{100}
/\x{100}{3,5}/utf abcd\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}XX 0: \x{100}\x{100}\x{100}\x{100}\x{100}
/\x{100}{3,}/utf,no_auto_possess abcd\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100}XX 0: \x{100}\x{100}\x{100}\x{100}\x{100}\x{100}\x{100} 1: \x{100}\x{100}\x{100}\x{100}\x{100}\x{100} 2: \x{100}\x{100}\x{100}\x{100}\x{100} 3: \x{100}\x{100}\x{100}\x{100} 4: \x{100}\x{100}\x{100}
/(?<=a\x{100}{2}b)X/utf Xyyya\x{100}\x{100}bXzzz 0: X
/\D*/utf,no_auto_possess aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa Matched, but offsets vector is too small to show all matches 0: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 1: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 2: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 3: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 4: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 5: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 6: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 7: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 8: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 9: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 10: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 11: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 12: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 13: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 14: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
/\D*/utf,no_auto_possess \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} Matched, but offsets vector is too small to show all matches 0: \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} 1: \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} 2: \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} 3: \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} 4: \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} 5: \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} 6: \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} 7: \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} 8: \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} 9: \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} 10: \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} 11: \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} 12: \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} 13: \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} 14: \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}
/\D/utf 1X2 0: X 1\x{100}2 0: \x{100} />\S/utf > >X Y 0: >X > >\x{100} Y 0: >\x{100} /\d/utf \x{100}3 0: 3 /\s/utf \x{100} X 0: /\D+/utf 12abcd34 0: abcd \= Expect no match 1234 No match
/\D{2,3}/utf 12abcd34 0: abc 12ab34 0: ab \= Expect no match 1234 No match 12a34 No match
/\D{2,3}?/utf 12abcd34 0: abc 1: ab 12ab34 0: ab \= Expect no match 1234 No match 12a34 No match
/\d+/utf 12abcd34 0: 12
/\d{2,3}/utf 12abcd34 0: 12 1234abcd 0: 123 \= Expect no match 1.4 No match
/\d{2,3}?/utf 12abcd34 0: 12 1234abcd 0: 123 1: 12 \= Expect no match 1.4 No match
/\S+/utf 12abcd34 0: 12abcd34 \= Expect no match \ \ No match
/\S{2,3}/utf 12abcd34 0: 12a 1234abcd 0: 123 \= Expect no match \ \ No match
/\S{2,3}?/utf 12abcd34 0: 12a 1: 12 1234abcd 0: 123 1: 12 \= Expect no match \ \ No match
/>\s+</utf 12> <34 0: > <
/>\s{2,3}</utf ab> <cd 0: > < ab> <ce 0: > < \= Expect no match ab> <cd No match
/>\s{2,3}?</utf ab> <cd 0: > < ab> <ce 0: > < \= Expect no match ab> <cd No match
/\w+/utf 12 34 0: 12 \= Expect no match +++=*! No match
/\w{2,3}/utf ab cd 0: ab abcd ce 0: abc \= Expect no match a.b.c No match
/\w{2,3}?/utf ab cd 0: ab abcd ce 0: abc 1: ab \= Expect no match a.b.c No match
/\W+/utf 12====34 0: ==== \= Expect no match abcd No match
/\W{2,3}/utf ab====cd 0: === ab==cd 0: == \= Expect no match a.b.c No match
/\W{2,3}?/utf ab====cd 0: === 1: == ab==cd 0: == \= Expect no match a.b.c No match
/[\x{100}]/utf \x{100} 0: \x{100} Z\x{100} 0: \x{100} \x{100}Z 0: \x{100}
/[Z\x{100}]/utf Z\x{100} 0: Z \x{100} 0: \x{100} \x{100}Z 0: \x{100}
/[\x{100}\x{200}]/utf ab\x{100}cd 0: \x{100} ab\x{200}cd 0: \x{200}
/[\x{100}-\x{200}]/utf ab\x{100}cd 0: \x{100} ab\x{200}cd 0: \x{200} ab\x{111}cd 0: \x{111}
/[z-\x{200}]/utf ab\x{100}cd 0: \x{100} ab\x{200}cd 0: \x{200} ab\x{111}cd 0: \x{111} abzcd 0: z ab|cd 0: |
/[Q\x{100}\x{200}]/utf ab\x{100}cd 0: \x{100} ab\x{200}cd 0: \x{200} Q? 0: Q
/[Q\x{100}-\x{200}]/utf ab\x{100}cd 0: \x{100} ab\x{200}cd 0: \x{200} ab\x{111}cd 0: \x{111} Q? 0: Q
/[Qz-\x{200}]/utf ab\x{100}cd 0: \x{100} ab\x{200}cd 0: \x{200} ab\x{111}cd 0: \x{111} abzcd 0: z ab|cd 0: | Q? 0: Q
/[\x{100}\x{200}]{1,3}/utf ab\x{100}cd 0: \x{100} ab\x{200}cd 0: \x{200} ab\x{200}\x{100}\x{200}\x{100}cd 0: \x{200}\x{100}\x{200}
/[\x{100}\x{200}]{1,3}?/utf ab\x{100}cd 0: \x{100} ab\x{200}cd 0: \x{200} ab\x{200}\x{100}\x{200}\x{100}cd 0: \x{200}\x{100}\x{200} 1: \x{200}\x{100} 2: \x{200}
/[Q\x{100}\x{200}]{1,3}/utf ab\x{100}cd 0: \x{100} ab\x{200}cd 0: \x{200} ab\x{200}\x{100}\x{200}\x{100}cd 0: \x{200}\x{100}\x{200}
/[Q\x{100}\x{200}]{1,3}?/utf ab\x{100}cd 0: \x{100} ab\x{200}cd 0: \x{200} ab\x{200}\x{100}\x{200}\x{100}cd 0: \x{200}\x{100}\x{200} 1: \x{200}\x{100} 2: \x{200}
/(?<=[\x{100}\x{200}])X/utf abc\x{200}X 0: X abc\x{100}X 0: X \= Expect no match X No match
/(?<=[Q\x{100}\x{200}])X/utf abc\x{200}X 0: X abc\x{100}X 0: X abQX 0: X \= Expect no match X No match
/(?<=[\x{100}\x{200}]{3})X/utf abc\x{100}\x{200}\x{100}X 0: X \= Expect no match abc\x{200}X No match X No match
/[^\x{100}\x{200}]X/utf AX 0: AX \x{150}X 0: \x{150}X \x{500}X 0: \x{500}X \= Expect no match \x{100}X No match \x{200}X No match
/[^Q\x{100}\x{200}]X/utf AX 0: AX \x{150}X 0: \x{150}X \x{500}X 0: \x{500}X \= Expect no match \x{100}X No match \x{200}X No match QX No match
/[^\x{100}-\x{200}]X/utf AX 0: AX \x{500}X 0: \x{500}X \= Expect no match \x{100}X No match \x{150}X No match \x{200}X No match
/[z-\x{100}]/i,utf z 0: z Z 0: Z \x{100} 0: \x{100} \= Expect no match \x{102} No match y No match
/[\xFF]/ >\xff< 0: \xff
/[\xff]/utf >\x{ff}< 0: \x{ff}
/[^\xFF]/ XYZ 0: X
/[^\xff]/utf XYZ 0: X \x{123} 0: \x{123}
/^[ac]*b/utf \= Expect no match xb No match
/^[ac\x{100}]*b/utf \= Expect no match xb No match
/^[^x]*b/i,utf \= Expect no match xb No match
/^[^x]*b/utf \= Expect no match xb No match /^\d*b/utf \= Expect no match xb No match
/(|a)/g,utf catac 0: 0: a 1: 0: 0: a 1: 0: 0: a\x{256}a 0: a 1: 0: 0: a 1: 0:
/^\x{85}$/i,utf \x{85} 0: \x{85}
/^abc./gmx,newline=any,utf abc1 \x0aabc2 \x0babc3xx \x0cabc4 \x0dabc5xx \x0d\x0aabc6 \x{0085}abc7 \x{2028}abc8 \x{2029}abc9 JUNK 0: abc1 0: abc2 0: abc3 0: abc4 0: abc5 0: abc6 0: abc7 0: abc8 0: abc9
/abc.$/gmx,newline=any,utf abc1\x0a abc2\x0b abc3\x0c abc4\x0d abc5\x0d\x0a abc6\x{0085} abc7\x{2028} abc8\x{2029} abc9 0: abc1 0: abc2 0: abc3 0: abc4 0: abc5 0: abc6 0: abc7 0: abc8 0: abc9
/^a\Rb/bsr=unicode,utf a\nb 0: a\x{0a}b a\rb 0: a\x{0d}b a\r\nb 0: a\x{0d}\x{0a}b a\x0bb 0: a\x{0b}b a\x0cb 0: a\x{0c}b a\x{85}b 0: a\x{85}b a\x{2028}b 0: a\x{2028}b a\x{2029}b 0: a\x{2029}b \= Expect no match a\n\rb No match
/^a\R*b/bsr=unicode,utf ab 0: ab a\nb 0: a\x{0a}b a\rb 0: a\x{0d}b a\r\nb 0: a\x{0d}\x{0a}b a\x0bb 0: a\x{0b}b a\x0c\x{2028}\x{2029}b 0: a\x{0c}\x{2028}\x{2029}b a\x{85}b 0: a\x{85}b a\n\rb 0: a\x{0a}\x{0d}b a\n\r\x{85}\x0cb 0: a\x{0a}\x{0d}\x{85}\x{0c}b
/^a\R+b/bsr=unicode,utf a\nb 0: a\x{0a}b a\rb 0: a\x{0d}b a\r\nb 0: a\x{0d}\x{0a}b a\x0bb 0: a\x{0b}b a\x0c\x{2028}\x{2029}b 0: a\x{0c}\x{2028}\x{2029}b a\x{85}b 0: a\x{85}b a\n\rb 0: a\x{0a}\x{0d}b a\n\r\x{85}\x0cb 0: a\x{0a}\x{0d}\x{85}\x{0c}b \= Expect no match ab No match
/^a\R{1,3}b/bsr=unicode,utf a\nb 0: a\x{0a}b a\n\rb 0: a\x{0a}\x{0d}b a\n\r\x{85}b 0: a\x{0a}\x{0d}\x{85}b a\r\n\r\nb 0: a\x{0d}\x{0a}\x{0d}\x{0a}b a\r\n\r\n\r\nb 0: a\x{0d}\x{0a}\x{0d}\x{0a}\x{0d}\x{0a}b a\n\r\n\rb 0: a\x{0a}\x{0d}\x{0a}\x{0d}b a\n\n\r\nb 0: a\x{0a}\x{0a}\x{0d}\x{0a}b \= Expect no match a\n\n\n\rb No match a\r No match
/\h+\V?\v{3,4}/utf,no_auto_possess \x09\x20\x{a0}X\x0a\x0b\x0c\x0d\x0a 0: \x{09} \x{a0}X\x{0a}\x{0b}\x{0c}\x{0d} 1: \x{09} \x{a0}X\x{0a}\x{0b}\x{0c}
/\V?\v{3,4}/utf,no_auto_possess \x20\x{a0}X\x0a\x0b\x0c\x0d\x0a 0: X\x{0a}\x{0b}\x{0c}\x{0d} 1: X\x{0a}\x{0b}\x{0c}
/\h+\V?\v{3,4}/utf,no_auto_possess >\x09\x20\x{a0}X\x0a\x0a\x0a< 0: \x{09} \x{a0}X\x{0a}\x{0a}\x{0a}
/\V?\v{3,4}/utf,no_auto_possess >\x09\x20\x{a0}X\x0a\x0a\x0a< 0: X\x{0a}\x{0a}\x{0a}
/\H\h\V\v/utf X X\x0a 0: X X\x{0a} X\x09X\x0b 0: X\x{09}X\x{0b} \= Expect no match \x{a0} X\x0a No match /\H*\h+\V?\v{3,4}/utf,no_auto_possess \x09\x20\x{a0}X\x0a\x0b\x0c\x0d\x0a 0: \x{09} \x{a0}X\x{0a}\x{0b}\x{0c}\x{0d} 1: \x{09} \x{a0}X\x{0a}\x{0b}\x{0c} \x09\x20\x{a0}\x0a\x0b\x0c\x0d\x0a 0: \x{09} \x{a0}\x{0a}\x{0b}\x{0c}\x{0d} 1: \x{09} \x{a0}\x{0a}\x{0b}\x{0c} \x09\x20\x{a0}\x0a\x0b\x0c 0: \x{09} \x{a0}\x{0a}\x{0b}\x{0c} \= Expect no match \x09\x20\x{a0}\x0a\x0b No match /\H\h\V\v/utf \x{3001}\x{3000}\x{2030}\x{2028} 0: \x{3001}\x{3000}\x{2030}\x{2028} X\x{180e}X\x{85} 0: X\x{180e}X\x{85} \= Expect no match \x{2009} X\x0a No match /\H*\h+\V?\v{3,4}/utf,no_auto_possess \x{1680}\x{180e}\x{2007}X\x{2028}\x{2029}\x0c\x0d\x0a 0: \x{1680}\x{180e}\x{2007}X\x{2028}\x{2029}\x{0c}\x{0d} 1: \x{1680}\x{180e}\x{2007}X\x{2028}\x{2029}\x{0c} \x09\x{205f}\x{a0}\x0a\x{2029}\x0c\x{2028}\x0a 0: \x{09}\x{205f}\x{a0}\x{0a}\x{2029}\x{0c}\x{2028} 1: \x{09}\x{205f}\x{a0}\x{0a}\x{2029}\x{0c} \x09\x20\x{202f}\x0a\x0b\x0c 0: \x{09} \x{202f}\x{0a}\x{0b}\x{0c} \= Expect no match \x09\x{200a}\x{a0}\x{2028}\x0b No match /a\Rb/I,bsr=anycrlf,utf Capture group count = 0 Options: utf \R matches CR, LF, or CRLF First code unit = 'a' Last code unit = 'b' Subject length lower bound = 3 a\rb 0: a\x{0d}b a\nb 0: a\x{0a}b a\r\nb 0: a\x{0d}\x{0a}b \= Expect no match a\x{85}b No match a\x0bb No match
/a\Rb/I,bsr=unicode,utf Capture group count = 0 Options: utf \R matches any Unicode newline First code unit = 'a' Last code unit = 'b' Subject length lower bound = 3 a\rb 0: a\x{0d}b a\nb 0: a\x{0a}b a\r\nb 0: a\x{0d}\x{0a}b a\x{85}b 0: a\x{85}b a\x0bb 0: a\x{0b}b /a\R?b/I,bsr=anycrlf,utf Capture group count = 0 Options: utf \R matches CR, LF, or CRLF First code unit = 'a' Last code unit = 'b' Subject length lower bound = 2 a\rb 0: a\x{0d}b a\nb 0: a\x{0a}b a\r\nb 0: a\x{0d}\x{0a}b \= Expect no match a\x{85}b No match a\x0bb No match
/a\R?b/I,bsr=unicode,utf Capture group count = 0 Options: utf \R matches any Unicode newline First code unit = 'a' Last code unit = 'b' Subject length lower bound = 2 a\rb 0: a\x{0d}b a\nb 0: a\x{0a}b a\r\nb 0: a\x{0d}\x{0a}b a\x{85}b 0: a\x{85}b a\x0bb 0: a\x{0b}b /X/newline=any,utf,firstline A\x{1ec5}ABCXYZ 0: X
/abcd*/utf xxxxabcd\=ps 0: abcd xxxxabcd\=ph Partial match: abcd
/abcd*/i,utf xxxxabcd\=ps 0: abcd xxxxabcd\=ph Partial match: abcd XXXXABCD\=ps 0: ABCD XXXXABCD\=ph Partial match: ABCD
/abc\d*/utf xxxxabc1\=ps 0: abc1 xxxxabc1\=ph Partial match: abc1
/abc[de]*/utf xxxxabcde\=ps 0: abcde xxxxabcde\=ph Partial match: abcde
/\bthe cat\b/utf the cat\=ps 0: the cat the cat\=ph Partial match: the cat
/./newline=crlf,utf \r\=ps 0: \x{0d} \r\=ph Partial match: \x{0d} /.{2,3}/newline=crlf,utf \r\=ps Partial match: \x{0d} \r\=ph Partial match: \x{0d} \r\r\=ps 0: \x{0d}\x{0d} \r\r\=ph Partial match: \x{0d}\x{0d} \r\r\r\=ps 0: \x{0d}\x{0d}\x{0d} \r\r\r\=ph Partial match: \x{0d}\x{0d}\x{0d}
/.{2,3}?/newline=crlf,utf \r\=ps Partial match: \x{0d} \r\=ph Partial match: \x{0d} \r\r\=ps 0: \x{0d}\x{0d} \r\r\=ph Partial match: \x{0d}\x{0d} \r\r\r\=ps 0: \x{0d}\x{0d}\x{0d} 1: \x{0d}\x{0d} \r\r\r\=ph Partial match: \x{0d}\x{0d}\x{0d}
/[^\x{100}]/utf \x{100}\x{101}X 0: \x{101}
/[^\x{100}]+/utf \x{100}\x{101}X 0: \x{101}X
/\pL\P{Nd}/utf AB 0: AB \= Expect no match A0 No match 00 No match
/\X./utf AB 0: AB A\x{300}BC 0: A\x{300}B A\x{300}\x{301}\x{302}BC 0: A\x{300}\x{301}\x{302}B \= Expect no match \x{300} No match
/\X\X/utf ABC 0: AB A\x{300}B\x{300}\x{301}C 0: A\x{300}B\x{300}\x{301} A\x{300}\x{301}\x{302}BC 0: A\x{300}\x{301}\x{302}B \= Expect no match \x{300} No match
/^\pL+/utf abcd 0: abcd a 0: a
/^\PL+/utf 1234 0: 1234 = 0: = \= Expect no match abcd No match
/^\X+/utf abcdA\x{300}\x{301}\x{302} 0: abcdA\x{300}\x{301}\x{302} A\x{300}\x{301}\x{302} 0: A\x{300}\x{301}\x{302} A\x{300}\x{301}\x{302}A\x{300}\x{301}\x{302} 0: A\x{300}\x{301}\x{302}A\x{300}\x{301}\x{302} a 0: a \x{300}\x{301}\x{302} 0: \x{300}\x{301}\x{302}
/\X?abc/utf abc 0: abc A\x{300}abc 0: A\x{300}abc A\x{300}\x{301}\x{302}A\x{300}A\x{300}A\x{300}abcxyz 0: A\x{300}abc \x{300}abc 0: \x{300}abc
/^\X?abc/utf abc 0: abc A\x{300}abc 0: A\x{300}abc \x{300}abc 0: \x{300}abc \= Expect no match A\x{300}\x{301}\x{302}A\x{300}A\x{300}A\x{300}abcxyz No match
/\X*abc/utf abc 0: abc A\x{300}abc 0: A\x{300}abc A\x{300}\x{301}\x{302}A\x{300}A\x{300}A\x{300}abcxyz 0: A\x{300}\x{301}\x{302}A\x{300}A\x{300}A\x{300}abc \x{300}abc 0: \x{300}abc
/^\X*abc/utf abc 0: abc A\x{300}abc 0: A\x{300}abc A\x{300}\x{301}\x{302}A\x{300}A\x{300}A\x{300}abcxyz 0: A\x{300}\x{301}\x{302}A\x{300}A\x{300}A\x{300}abc \x{300}abc 0: \x{300}abc
/^\pL?=./utf A=b 0: A=b =c 0: =c \= Expect no match 1=2 No match AAAA=b No match
/^\pL*=./utf AAAA=b 0: AAAA=b =c 0: =c \= Expect no match 1=2 No match
/^\X{2,3}X/utf A\x{300}\x{301}\x{302}A\x{300}\x{301}\x{302}X 0: A\x{300}\x{301}\x{302}A\x{300}\x{301}\x{302}X A\x{300}\x{301}\x{302}A\x{300}\x{301}\x{302}A\x{300}\x{301}\x{302}X 0: A\x{300}\x{301}\x{302}A\x{300}\x{301}\x{302}A\x{300}\x{301}\x{302}X \= Expect no match X No match A\x{300}\x{301}\x{302}X No match A\x{300}\x{301}\x{302}A\x{300}\x{301}\x{302}A\x{300}\x{301}\x{302}A\x{300}\x{301}\x{302}X No match
/^\pC\pL\pM\pN\pP\pS\pZ</utf \x7f\x{c0}\x{30f}\x{660}\x{66c}\x{f01}\x{1680}< 0: \x{7f}\x{c0}\x{30f}\x{660}\x{66c}\x{f01}\x{1680}< \np\x{300}9!\$ < 0: \x{0a}p\x{300}9!$ < \= Expect no match ap\x{300}9!\$ < No match /^\PC/utf X 0: X \= Expect no match \x7f No match /^\PL/utf 9 0: 9 \= Expect no match \x{c0} No match /^\PM/utf X 0: X \= Expect no match \x{30f} No match /^\PN/utf X 0: X \= Expect no match \x{660} No match /^\PP/utf X 0: X \= Expect no match \x{66c} No match /^\PS/utf X 0: X \= Expect no match \x{f01} No match /^\PZ/utf X 0: X \= Expect no match \x{1680} No match /^\p{Cc}/utf \x{017} 0: \x{17} \x{09f} 0: \x{9f} \= Expect no match \x{0600} No match /^\p{Cf}/utf \x{601} 0: \x{601} \x{180e} 0: \x{180e} \x{061c} 0: \x{61c} \x{2066} 0: \x{2066} \x{2067} 0: \x{2067} \x{2068} 0: \x{2068} \x{2069} 0: \x{2069} \= Expect no match \x{09f} No match /^\p{Cn}/utf \= Expect no match \x{09f} No match /^\p{Co}/utf \x{f8ff} 0: \x{f8ff} \= Expect no match \x{09f} No match /^\p{Cs}/utf \x{dfff}\=no_utf_check 0: \x{dfff} \= Expect no match \x{09f} No match /^\p{Ll}/utf a 0: a \= Expect no match Z No match \x{e000} No match /^\p{Lm}/utf \x{2b0} 0: \x{2b0} \= Expect no match a No match /^\p{Lo}/utf \x{1bb} 0: \x{1bb} \= Expect no match a No match \x{2b0} No match /^\p{Lt}/utf \x{1c5} 0: \x{1c5} \= Expect no match a No match \x{2b0} No match /^\p{Lu}/utf A 0: A \= Expect no match \x{2b0} No match /^\p{Mc}/utf \x{903} 0: \x{903} \= Expect no match X No match \x{300} No match /^\p{Me}/utf \x{488} 0: \x{488} \= Expect no match X No match \x{903} No match \x{300} No match /^\p{Mn}/utf \x{300} 0: \x{300} \x{1a1b} 0: \x{1a1b} \= Expect no match X No match \x{903} No match /^\p{Nd}+/utf,no_auto_possess 0123456789\x{660}\x{661}\x{662}\x{663}\x{664}\x{665}\x{666}\x{667}\x{668}\x{669}\x{66a} Matched, but offsets vector is too small to show all matches 0: 0123456789\x{660}\x{661}\x{662}\x{663}\x{664}\x{665}\x{666}\x{667}\x{668}\x{669} 1: 0123456789\x{660}\x{661}\x{662}\x{663}\x{664}\x{665}\x{666}\x{667}\x{668} 2: 0123456789\x{660}\x{661}\x{662}\x{663}\x{664}\x{665}\x{666}\x{667} 3: 0123456789\x{660}\x{661}\x{662}\x{663}\x{664}\x{665}\x{666} 4: 0123456789\x{660}\x{661}\x{662}\x{663}\x{664}\x{665} 5: 0123456789\x{660}\x{661}\x{662}\x{663}\x{664} 6: 0123456789\x{660}\x{661}\x{662}\x{663} 7: 0123456789\x{660}\x{661}\x{662} 8: 0123456789\x{660}\x{661} 9: 0123456789\x{660} 10: 0123456789 11: 012345678 12: 01234567 13: 0123456 14: 012345 \x{6f0}\x{6f1}\x{6f2}\x{6f3}\x{6f4}\x{6f5}\x{6f6}\x{6f7}\x{6f8}\x{6f9}\x{6fa} 0: \x{6f0}\x{6f1}\x{6f2}\x{6f3}\x{6f4}\x{6f5}\x{6f6}\x{6f7}\x{6f8}\x{6f9} 1: \x{6f0}\x{6f1}\x{6f2}\x{6f3}\x{6f4}\x{6f5}\x{6f6}\x{6f7}\x{6f8} 2: \x{6f0}\x{6f1}\x{6f2}\x{6f3}\x{6f4}\x{6f5}\x{6f6}\x{6f7} 3: \x{6f0}\x{6f1}\x{6f2}\x{6f3}\x{6f4}\x{6f5}\x{6f6} 4: \x{6f0}\x{6f1}\x{6f2}\x{6f3}\x{6f4}\x{6f5} 5: \x{6f0}\x{6f1}\x{6f2}\x{6f3}\x{6f4} 6: \x{6f0}\x{6f1}\x{6f2}\x{6f3} 7: \x{6f0}\x{6f1}\x{6f2} 8: \x{6f0}\x{6f1} 9: \x{6f0} \x{966}\x{967}\x{968}\x{969}\x{96a}\x{96b}\x{96c}\x{96d}\x{96e}\x{96f}\x{970} 0: \x{966}\x{967}\x{968}\x{969}\x{96a}\x{96b}\x{96c}\x{96d}\x{96e}\x{96f} 1: \x{966}\x{967}\x{968}\x{969}\x{96a}\x{96b}\x{96c}\x{96d}\x{96e} 2: \x{966}\x{967}\x{968}\x{969}\x{96a}\x{96b}\x{96c}\x{96d} 3: \x{966}\x{967}\x{968}\x{969}\x{96a}\x{96b}\x{96c} 4: \x{966}\x{967}\x{968}\x{969}\x{96a}\x{96b} 5: \x{966}\x{967}\x{968}\x{969}\x{96a} 6: \x{966}\x{967}\x{968}\x{969} 7: \x{966}\x{967}\x{968} 8: \x{966}\x{967} 9: \x{966} \= Expect no match X No match /^\p{Nl}/utf \x{16ee} 0: \x{16ee} \= Expect no match X No match \x{966} No match /^\p{No}/utf \x{b2} 0: \x{b2} \x{b3} 0: \x{b3} \= Expect no match X No match \x{16ee} No match /^\p{Pc}/utf \x5f 0: _ \x{203f} 0: \x{203f} \= Expect no match X No match - No match \x{58a} No match /^\p{Pd}/utf - 0: - \x{58a} 0: \x{58a} \= Expect no match X No match \x{203f} No match /^\p{Pe}/utf ) 0: ) ] 0: ] } 0: } \x{f3b} 0: \x{f3b} \x{2309} 0: \x{2309} \x{230b} 0: \x{230b} \= Expect no match X No match \x{203f} No match ( No match [ No match { No match \x{f3c} No match
/^\p{Pf}/utf \x{bb} 0: \x{bb} \x{2019} 0: \x{2019} \= Expect no match X No match \x{203f} No match /^\p{Pi}/utf \x{ab} 0: \x{ab} \x{2018} 0: \x{2018} \= Expect no match X No match \x{203f} No match /^\p{Po}/utf ! 0: ! \x{37e} 0: \x{37e} \= Expect no match X No match \x{203f} No match /^\p{Ps}/utf ( 0: ( [ 0: [ { 0: { \x{f3c} 0: \x{f3c} \x{2308} 0: \x{2308} \x{230a} 0: \x{230a} \= Expect no match X No match ) No match ] No match } No match \x{f3b} No match /^\p{Sc}+/utf $\x{a2}\x{a3}\x{a4}\x{a5}\x{a6} 0: $\x{a2}\x{a3}\x{a4}\x{a5} \x{9f2} 0: \x{9f2} \= Expect no match X No match \x{2c2} No match /^\p{Sk}/utf \x{2c2} 0: \x{2c2} \= Expect no match X No match \x{9f2} No match /^\p{Sm}+/utf +<|~\x{ac}\x{2044} 0: +<|~\x{ac}\x{2044} \= Expect no match X No match \x{9f2} No match /^\p{So}/utf \x{a6} 0: \x{a6} \x{482} 0: \x{482} \= Expect no match X No match \x{9f2} No match /^\p{Zl}/utf \x{2028} 0: \x{2028} \= Expect no match X No match \x{2029} No match /^\p{Zp}/utf \x{2029} 0: \x{2029} \= Expect no match X No match \x{2028} No match /^\p{Zs}/utf \ \ 0: \x{a0} 0: \x{a0} \x{1680} 0: \x{1680} \x{2000} 0: \x{2000} \x{2001} 0: \x{2001} \= Expect no match \x{2028} No match \x{200d} No match /\p{Nd}+(..)/utf \x{660}\x{661}\x{662}ABC 0: \x{660}\x{661}\x{662}AB 1: \x{660}\x{661}\x{662}A 2: \x{660}\x{661}\x{662} /\p{Nd}+?(..)/utf \x{660}\x{661}\x{662}ABC 0: \x{660}\x{661}\x{662}AB 1: \x{660}\x{661}\x{662}A 2: \x{660}\x{661}\x{662} /\p{Nd}{2,}(..)/utf \x{660}\x{661}\x{662}ABC 0: \x{660}\x{661}\x{662}AB 1: \x{660}\x{661}\x{662}A /\p{Nd}{2,}?(..)/utf \x{660}\x{661}\x{662}ABC 0: \x{660}\x{661}\x{662}AB 1: \x{660}\x{661}\x{662}A /\p{Nd}*(..)/utf \x{660}\x{661}\x{662}ABC 0: \x{660}\x{661}\x{662}AB 1: \x{660}\x{661}\x{662}A 2: \x{660}\x{661}\x{662} 3: \x{660}\x{661} /\p{Nd}*?(..)/utf \x{660}\x{661}\x{662}ABC 0: \x{660}\x{661}\x{662}AB 1: \x{660}\x{661}\x{662}A 2: \x{660}\x{661}\x{662} 3: \x{660}\x{661} /\p{Nd}{2}(..)/utf \x{660}\x{661}\x{662}ABC 0: \x{660}\x{661}\x{662}A /\p{Nd}{2,3}(..)/utf \x{660}\x{661}\x{662}ABC 0: \x{660}\x{661}\x{662}AB 1: \x{660}\x{661}\x{662}A /\p{Nd}{2,3}?(..)/utf \x{660}\x{661}\x{662}ABC 0: \x{660}\x{661}\x{662}AB 1: \x{660}\x{661}\x{662}A /\p{Nd}?(..)/utf \x{660}\x{661}\x{662}ABC 0: \x{660}\x{661}\x{662} 1: \x{660}\x{661} /\p{Nd}??(..)/utf \x{660}\x{661}\x{662}ABC 0: \x{660}\x{661}\x{662} 1: \x{660}\x{661} /\p{Nd}*+(..)/utf \x{660}\x{661}\x{662}ABC 0: \x{660}\x{661}\x{662}AB /\p{Nd}*+(...)/utf \x{660}\x{661}\x{662}ABC 0: \x{660}\x{661}\x{662}ABC /\p{Nd}*+(....)/utf \= Expect no match \x{660}\x{661}\x{662}ABC No match /\p{Lu}/i,utf A 0: A a\x{10a0}B 0: \x{10a0} \= Expect no match a No match \x{1d00} No match
/\p{^Lu}/i,utf 1234 0: 1 \= Expect no match ABC No match
/\P{Lu}/i,utf 1234 0: 1 \= Expect no match ABC No match
/(?<=A\p{Nd})XYZ/utf A2XYZ 0: XYZ 123A5XYZPQR 0: XYZ ABA\x{660}XYZpqr 0: XYZ \= Expect no match AXYZ No match XYZ No match /(?<!\pL)XYZ/utf 1XYZ 0: XYZ AB=XYZ.. 0: XYZ XYZ 0: XYZ \= Expect no match WXYZ No match
/[\p{Nd}]/utf 1234 0: 1
/[\p{Nd}+-]+/utf 1234 0: 1234 12-34 0: 12-34 12+\x{661}-34 0: 12+\x{661}-34 \= Expect no match abcd No match
/[\P{Nd}]+/utf abcd 0: abcd \= Expect no match 1234 No match
/\D+/utf,no_auto_possess aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa Matched, but offsets vector is too small to show all matches 0: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 1: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 2: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 3: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 4: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 5: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 6: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 7: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 8: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 9: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 10: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 11: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 12: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 13: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 14: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa \= Expect no match 11111111111111111111111111111111111111111111111111111111111111111111111 No match /\P{Nd}+/utf,no_auto_possess aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa Matched, but offsets vector is too small to show all matches 0: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 1: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 2: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 3: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 4: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 5: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 6: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 7: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 8: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 9: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 10: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 11: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 12: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 13: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 14: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa \= Expect no match 11111111111111111111111111111111111111111111111111111111111111111111111 No match
/[\D]+/utf,no_auto_possess aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa Matched, but offsets vector is too small to show all matches 0: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 1: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 2: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 3: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 4: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 5: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 6: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 7: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 8: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 9: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 10: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 11: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 12: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 13: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 14: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa \= Expect no match 11111111111111111111111111111111111111111111111111111111111111111111111 No match
/[\P{Nd}]+/utf,no_auto_possess aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa Matched, but offsets vector is too small to show all matches 0: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 1: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 2: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 3: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 4: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 5: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 6: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 7: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 8: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 9: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 10: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 11: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 12: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 13: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 14: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa \= Expect no match 11111111111111111111111111111111111111111111111111111111111111111111111 No match
/[\D\P{Nd}]+/utf,no_auto_possess aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa Matched, but offsets vector is too small to show all matches 0: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 1: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 2: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 3: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 4: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 5: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 6: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 7: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 8: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 9: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 10: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 11: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 12: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 13: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 14: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa \= Expect no match 11111111111111111111111111111111111111111111111111111111111111111111111 No match
/\pL/utf a 0: a A 0: A
/\pL/i,utf a 0: a A 0: A /\p{Lu}/utf A 0: A aZ 0: Z \= Expect no match abc No match
/\p{Lu}/i,utf A 0: A aZ 0: Z \= Expect no match abc No match
/\p{Ll}/utf a 0: a Az 0: z \= Expect no match ABC No match
/\p{Ll}/i,utf a 0: a Az 0: z \= Expect no match ABC No match
/^\x{c0}$/i,utf \x{c0} 0: \x{c0} \x{e0} 0: \x{e0}
/^\x{e0}$/i,utf \x{c0} 0: \x{c0} \x{e0} 0: \x{e0}
/A\x{391}\x{10427}\x{ff3a}\x{1fb0}/utf A\x{391}\x{10427}\x{ff3a}\x{1fb0} 0: A\x{391}\x{10427}\x{ff3a}\x{1fb0} \= Expect no match a\x{391}\x{10427}\x{ff3a}\x{1fb0} No match A\x{3b1}\x{10427}\x{ff3a}\x{1fb0} No match A\x{391}\x{1044F}\x{ff3a}\x{1fb0} No match A\x{391}\x{10427}\x{ff5a}\x{1fb0} No match A\x{391}\x{10427}\x{ff3a}\x{1fb8} No match
/A\x{391}\x{10427}\x{ff3a}\x{1fb0}/i,utf A\x{391}\x{10427}\x{ff3a}\x{1fb0} 0: A\x{391}\x{10427}\x{ff3a}\x{1fb0} a\x{391}\x{10427}\x{ff3a}\x{1fb0} 0: a\x{391}\x{10427}\x{ff3a}\x{1fb0} A\x{3b1}\x{10427}\x{ff3a}\x{1fb0} 0: A\x{3b1}\x{10427}\x{ff3a}\x{1fb0} A\x{391}\x{1044F}\x{ff3a}\x{1fb0} 0: A\x{391}\x{1044f}\x{ff3a}\x{1fb0} A\x{391}\x{10427}\x{ff5a}\x{1fb0} 0: A\x{391}\x{10427}\x{ff5a}\x{1fb0} A\x{391}\x{10427}\x{ff3a}\x{1fb8} 0: A\x{391}\x{10427}\x{ff3a}\x{1fb8}
/\x{391}+/i,utf \x{391}\x{3b1}\x{3b1}\x{3b1}\x{391} 0: \x{391}\x{3b1}\x{3b1}\x{3b1}\x{391}
/\x{391}{3,5}(.)/i,utf \x{391}\x{3b1}\x{3b1}\x{3b1}\x{391}X 0: \x{391}\x{3b1}\x{3b1}\x{3b1}\x{391}X 1: \x{391}\x{3b1}\x{3b1}\x{3b1}\x{391} 2: \x{391}\x{3b1}\x{3b1}\x{3b1}
/\x{391}{3,5}?(.)/i,utf \x{391}\x{3b1}\x{3b1}\x{3b1}\x{391}X 0: \x{391}\x{3b1}\x{3b1}\x{3b1}\x{391}X 1: \x{391}\x{3b1}\x{3b1}\x{3b1}\x{391} 2: \x{391}\x{3b1}\x{3b1}\x{3b1}
/[\x{391}\x{ff3a}]/i,utf \x{391} 0: \x{391} \x{ff3a} 0: \x{ff3a} \x{3b1} 0: \x{3b1} \x{ff5a} 0: \x{ff5a} /[\x{c0}\x{391}]/i,utf \x{c0} 0: \x{c0} \x{e0} 0: \x{e0}
/[\x{105}-\x{109}]/i,utf \x{104} 0: \x{104} \x{105} 0: \x{105} \x{109} 0: \x{109} \= Expect no match \x{100} No match \x{10a} No match /[z-\x{100}]/i,utf Z 0: Z z 0: z \x{39c} 0: \x{39c} \x{178} 0: \x{178} | 0: | \x{80} 0: \x{80} \x{ff} 0: \x{ff} \x{100} 0: \x{100} \x{101} 0: \x{101} \= Expect no match \x{102} No match Y No match y No match
/[z-\x{100}]/i,utf
/^\X/utf A 0: A A\x{300}BC 0: A\x{300} A\x{300}\x{301}\x{302}BC 0: A\x{300}\x{301}\x{302} \x{300} 0: \x{300}
/^(\X*)C/utf A\x{300}\x{301}\x{302}BCA\x{300}\x{301} 0: A\x{300}\x{301}\x{302}BC A\x{300}\x{301}\x{302}BCA\x{300}\x{301}C 0: A\x{300}\x{301}\x{302}BCA\x{300}\x{301}C 1: A\x{300}\x{301}\x{302}BC
/^(\X*?)C/utf A\x{300}\x{301}\x{302}BCA\x{300}\x{301} 0: A\x{300}\x{301}\x{302}BC A\x{300}\x{301}\x{302}BCA\x{300}\x{301}C 0: A\x{300}\x{301}\x{302}BCA\x{300}\x{301}C 1: A\x{300}\x{301}\x{302}BC
/^(\X*)(.)/utf A\x{300}\x{301}\x{302}BCA\x{300}\x{301} 0: A\x{300}\x{301}\x{302}BCA 1: A\x{300}\x{301}\x{302}BC 2: A\x{300}\x{301}\x{302}B 3: A A\x{300}\x{301}\x{302}BCA\x{300}\x{301}C 0: A\x{300}\x{301}\x{302}BCA\x{300}\x{301}C 1: A\x{300}\x{301}\x{302}BCA 2: A\x{300}\x{301}\x{302}BC 3: A\x{300}\x{301}\x{302}B 4: A
/^(\X*?)(.)/utf A\x{300}\x{301}\x{302}BCA\x{300}\x{301} 0: A\x{300}\x{301}\x{302}BCA 1: A\x{300}\x{301}\x{302}BC 2: A\x{300}\x{301}\x{302}B 3: A A\x{300}\x{301}\x{302}BCA\x{300}\x{301}C 0: A\x{300}\x{301}\x{302}BCA\x{300}\x{301}C 1: A\x{300}\x{301}\x{302}BCA 2: A\x{300}\x{301}\x{302}BC 3: A\x{300}\x{301}\x{302}B 4: A
/^\X(.)/utf \= Expect no match A\x{300}\x{301}\x{302} No match
/^\X{2,3}(.)/utf A\x{300}\x{301}B\x{300}X 0: A\x{300}\x{301}B\x{300}X A\x{300}\x{301}B\x{300}C\x{300}\x{301} 0: A\x{300}\x{301}B\x{300}C A\x{300}\x{301}B\x{300}C\x{300}\x{301}X 0: A\x{300}\x{301}B\x{300}C\x{300}\x{301}X 1: A\x{300}\x{301}B\x{300}C A\x{300}\x{301}B\x{300}C\x{300}\x{301}DA\x{300}X 0: A\x{300}\x{301}B\x{300}C\x{300}\x{301}D 1: A\x{300}\x{301}B\x{300}C /^\X{2,3}?(.)/utf A\x{300}\x{301}B\x{300}X 0: A\x{300}\x{301}B\x{300}X A\x{300}\x{301}B\x{300}C\x{300}\x{301} 0: A\x{300}\x{301}B\x{300}C A\x{300}\x{301}B\x{300}C\x{300}\x{301}X 0: A\x{300}\x{301}B\x{300}C\x{300}\x{301}X 1: A\x{300}\x{301}B\x{300}C A\x{300}\x{301}B\x{300}C\x{300}\x{301}DA\x{300}X 0: A\x{300}\x{301}B\x{300}C\x{300}\x{301}D 1: A\x{300}\x{301}B\x{300}C
/^\pN{2,3}X/ 12X 0: 12X 123X 0: 123X \= Expect no match X No match 1X No match 1234X No match
/\x{100}/i,utf \x{100} 0: \x{100} \x{101} 0: \x{101} /^\p{Han}+/utf \x{2e81}\x{3007}\x{2f804}\x{31a0} 0: \x{2e81}\x{3007}\x{2f804} \= Expect no match \x{2e7f} No match
/^\P{Katakana}+/utf \x{3105} 0: \x{3105} \= Expect no match \x{30ff} No match
/^[\p{Arabic}]/utf \x{06e9} 0: \x{6e9} \x{060b} 0: \x{60b} \= Expect no match X\x{06e9} No match
/^[\P{Yi}]/utf \x{2f800} 0: \x{2f800} \= Expect no match \x{a014} No match \x{a4c6} No match
/^\p{Any}X/utf AXYZ 0: AX \x{1234}XYZ 0: \x{1234}X \= Expect no match X No match /^\P{Any}X/utf \= Expect no match AX No match /^\p{Any}?X/utf XYZ 0: X AXYZ 0: AX \x{1234}XYZ 0: \x{1234}X \= Expect no match ABXYZ No match
/^\P{Any}?X/utf XYZ 0: X \= Expect no match AXYZ No match \x{1234}XYZ No match ABXYZ No match
/^\p{Any}+X/utf AXYZ 0: AX \x{1234}XYZ 0: \x{1234}X A\x{1234}XYZ 0: A\x{1234}X \= Expect no match XYZ No match
/^\P{Any}+X/utf \= Expect no match AXYZ No match \x{1234}XYZ No match A\x{1234}XYZ No match XYZ No match
/^\p{Any}*X/utf XYZ 0: X AXYZ 0: AX \x{1234}XYZ 0: \x{1234}X A\x{1234}XYZ 0: A\x{1234}X
/^\P{Any}*X/utf XYZ 0: X \= Expect no match AXYZ No match \x{1234}XYZ No match A\x{1234}XYZ No match
/^[\p{Any}]X/utf AXYZ 0: AX \x{1234}XYZ 0: \x{1234}X \= Expect no match X No match /^[\P{Any}]X/utf \= Expect no match AX No match /^[\p{Any}]?X/utf XYZ 0: X AXYZ 0: AX \x{1234}XYZ 0: \x{1234}X \= Expect no match ABXYZ No match
/^[\P{Any}]?X/utf XYZ 0: X \= Expect no match AXYZ No match \x{1234}XYZ No match ABXYZ No match
/^[\p{Any}]+X/utf AXYZ 0: AX \x{1234}XYZ 0: \x{1234}X A\x{1234}XYZ 0: A\x{1234}X \= Expect no match XYZ No match
/^[\P{Any}]+X/utf \= Expect no match AXYZ No match \x{1234}XYZ No match A\x{1234}XYZ No match XYZ No match
/^[\p{Any}]*X/utf XYZ 0: X AXYZ 0: AX \x{1234}XYZ 0: \x{1234}X A\x{1234}XYZ 0: A\x{1234}X
/^[\P{Any}]*X/utf XYZ 0: X \= Expect no match AXYZ No match \x{1234}XYZ No match A\x{1234}XYZ No match
/^\p{Any}{3,5}?/utf abcdefgh 0: abcde 1: abcd 2: abc \x{1234}\n\r\x{3456}xyz 0: \x{1234}\x{0a}\x{0d}\x{3456}x 1: \x{1234}\x{0a}\x{0d}\x{3456} 2: \x{1234}\x{0a}\x{0d}
/^\p{Any}{3,5}/utf abcdefgh 0: abcde \x{1234}\n\r\x{3456}xyz 0: \x{1234}\x{0a}\x{0d}\x{3456}x
/^\P{Any}{3,5}?/utf \= Expect no match abcdefgh No match \x{1234}\n\r\x{3456}xyz No match
/^\p{L&}X/utf AXY 0: AX aXY 0: aX \x{1c5}XY 0: \x{1c5}X \= Expect no match \x{1bb}XY No match \x{2b0}XY No match !XY No match
/^[\p{L&}]X/utf AXY 0: AX aXY 0: aX \x{1c5}XY 0: \x{1c5}X \= Expect no match \x{1bb}XY No match \x{2b0}XY No match !XY No match
/^\p{L&}+X/utf AXY 0: AX aXY 0: aX AbcdeXyz 0: AbcdeX \x{1c5}AbXY 0: \x{1c5}AbX abcDEXypqreXlmn 0: abcDEXypqreX 1: abcDEX \= Expect no match \x{1bb}XY No match \x{2b0}XY No match !XY No match
/^[\p{L&}]+X/utf AXY 0: AX aXY 0: aX AbcdeXyz 0: AbcdeX \x{1c5}AbXY 0: \x{1c5}AbX abcDEXypqreXlmn 0: abcDEXypqreX 1: abcDEX \= Expect no match \x{1bb}XY No match \x{2b0}XY No match !XY No match
/^\p{L&}+?X/utf AXY 0: AX aXY 0: aX AbcdeXyz 0: AbcdeX \x{1c5}AbXY 0: \x{1c5}AbX abcDEXypqreXlmn 0: abcDEXypqreX 1: abcDEX \= Expect no match \x{1bb}XY No match \x{2b0}XY No match !XY No match
/^[\p{L&}]+?X/utf AXY 0: AX aXY 0: aX AbcdeXyz 0: AbcdeX \x{1c5}AbXY 0: \x{1c5}AbX abcDEXypqreXlmn 0: abcDEXypqreX 1: abcDEX \= Expect no match \x{1bb}XY No match \x{2b0}XY No match !XY No match
/^\P{L&}X/utf !XY 0: !X \x{1bb}XY 0: \x{1bb}X \x{2b0}XY 0: \x{2b0}X \= Expect no match \x{1c5}XY No match AXY No match
/^[\P{L&}]X/utf !XY 0: !X \x{1bb}XY 0: \x{1bb}X \x{2b0}XY 0: \x{2b0}X \= Expect no match \x{1c5}XY No match AXY No match
/^\x{023a}+?(\x{0130}+)/i,utf \x{023a}\x{2c65}\x{0130} 0: \x{23a}\x{2c65}\x{130} /^\x{023a}+([^X])/i,utf \x{023a}\x{2c65}X 0: \x{23a}\x{2c65} /\x{c0}+\x{116}+/i,utf \x{c0}\x{e0}\x{116}\x{117} 0: \x{c0}\x{e0}\x{116}\x{117}
/[\x{c0}\x{116}]+/i,utf \x{c0}\x{e0}\x{116}\x{117} 0: \x{c0}\x{e0}\x{116}\x{117}
# Check property support in non-UTF-8 mode /\p{L}{4}/ 123abcdefg 0: abcd 123abc\xc4\xc5zz 0: abc\xc4
/\p{Carian}\p{Cham}\p{Kayah_Li}\p{Lepcha}\p{Lycian}\p{Lydian}\p{Ol_Chiki}\p{Rejang}\p{Saurashtra}\p{Sundanese}\p{Vai}/utf \x{102A4}\x{AA52}\x{A91D}\x{1C46}\x{10283}\x{1092E}\x{1C6B}\x{A93B}\x{A8BF}\x{1BA0}\x{A50A}==== 0: \x{102a4}\x{aa52}\x{a91d}\x{1c46}\x{10283}\x{1092e}\x{1c6b}\x{a93b}\x{a8bf}\x{1ba0}\x{a50a}
/\x{a77d}\x{1d79}/i,utf \x{a77d}\x{1d79} 0: \x{a77d}\x{1d79} \x{1d79}\x{a77d} 0: \x{1d79}\x{a77d}
/\x{a77d}\x{1d79}/utf \x{a77d}\x{1d79} 0: \x{a77d}\x{1d79} \= Expect no match \x{1d79}\x{a77d} No match
/^\p{Xan}/utf ABCD 0: A 1234 0: 1 \x{6ca} 0: \x{6ca} \x{a6c} 0: \x{a6c} \x{10a7} 0: \x{10a7} \= Expect no match _ABC No match
/^\p{Xan}+/utf ABCD1234\x{6ca}\x{a6c}\x{10a7}_ 0: ABCD1234\x{6ca}\x{a6c}\x{10a7} \= Expect no match _ABC No match
/^\p{Xan}*/utf ABCD1234\x{6ca}\x{a6c}\x{10a7}_ 0: ABCD1234\x{6ca}\x{a6c}\x{10a7} /^\p{Xan}{2,9}/utf ABCD1234\x{6ca}\x{a6c}\x{10a7}_ 0: ABCD1234\x{6ca} /^[\p{Xan}]/utf ABCD1234_ 0: A 1234abcd_ 0: 1 \x{6ca} 0: \x{6ca} \x{a6c} 0: \x{a6c} \x{10a7} 0: \x{10a7} \= Expect no match _ABC No match /^[\p{Xan}]+/utf ABCD1234\x{6ca}\x{a6c}\x{10a7}_ 0: ABCD1234\x{6ca}\x{a6c}\x{10a7} \= Expect no match _ABC No match
/^>\p{Xsp}/utf >\x{1680}\x{2028}\x{0b} 0: >\x{1680} \= Expect no match \x{0b} No match
/^>\p{Xsp}+/utf,no_auto_possess > \x{09}\x{0a}\x{0c}\x{0d}\x{a0}\x{1680}\x{2028}\x{0b} 0: > \x{09}\x{0a}\x{0c}\x{0d}\x{a0}\x{1680}\x{2028}\x{0b} 1: > \x{09}\x{0a}\x{0c}\x{0d}\x{a0}\x{1680}\x{2028} 2: > \x{09}\x{0a}\x{0c}\x{0d}\x{a0}\x{1680} 3: > \x{09}\x{0a}\x{0c}\x{0d}\x{a0} 4: > \x{09}\x{0a}\x{0c}\x{0d} 5: > \x{09}\x{0a}\x{0c} 6: > \x{09}\x{0a} 7: > \x{09} 8: >
/^>\p{Xsp}*/utf,no_auto_possess > \x{09}\x{0a}\x{0c}\x{0d}\x{a0}\x{1680}\x{2028}\x{0b} 0: > \x{09}\x{0a}\x{0c}\x{0d}\x{a0}\x{1680}\x{2028}\x{0b} 1: > \x{09}\x{0a}\x{0c}\x{0d}\x{a0}\x{1680}\x{2028} 2: > \x{09}\x{0a}\x{0c}\x{0d}\x{a0}\x{1680} 3: > \x{09}\x{0a}\x{0c}\x{0d}\x{a0} 4: > \x{09}\x{0a}\x{0c}\x{0d} 5: > \x{09}\x{0a}\x{0c} 6: > \x{09}\x{0a} 7: > \x{09} 8: > 9: > /^>\p{Xsp}{2,9}/utf,no_auto_possess > \x{09}\x{0a}\x{0c}\x{0d}\x{a0}\x{1680}\x{2028}\x{0b} 0: > \x{09}\x{0a}\x{0c}\x{0d}\x{a0}\x{1680}\x{2028}\x{0b} 1: > \x{09}\x{0a}\x{0c}\x{0d}\x{a0}\x{1680}\x{2028} 2: > \x{09}\x{0a}\x{0c}\x{0d}\x{a0}\x{1680} 3: > \x{09}\x{0a}\x{0c}\x{0d}\x{a0} 4: > \x{09}\x{0a}\x{0c}\x{0d} 5: > \x{09}\x{0a}\x{0c} 6: > \x{09}\x{0a} 7: > \x{09} /^>[\p{Xsp}]/utf,no_auto_possess >\x{2028}\x{0b} 0: >\x{2028} /^>[\p{Xsp}]+/utf,no_auto_possess > \x{09}\x{0a}\x{0c}\x{0d}\x{a0}\x{1680}\x{2028}\x{0b} 0: > \x{09}\x{0a}\x{0c}\x{0d}\x{a0}\x{1680}\x{2028}\x{0b} 1: > \x{09}\x{0a}\x{0c}\x{0d}\x{a0}\x{1680}\x{2028} 2: > \x{09}\x{0a}\x{0c}\x{0d}\x{a0}\x{1680} 3: > \x{09}\x{0a}\x{0c}\x{0d}\x{a0} 4: > \x{09}\x{0a}\x{0c}\x{0d} 5: > \x{09}\x{0a}\x{0c} 6: > \x{09}\x{0a} 7: > \x{09} 8: >
/^>\p{Xps}/utf >\x{1680}\x{2028}\x{0b} 0: >\x{1680} >\x{a0} 0: >\x{a0} \= Expect no match \x{0b} No match
/^>\p{Xps}+/utf > \x{09}\x{0a}\x{0c}\x{0d}\x{a0}\x{1680}\x{2028}\x{0b} 0: > \x{09}\x{0a}\x{0c}\x{0d}\x{a0}\x{1680}\x{2028}\x{0b}
/^>\p{Xps}+?/utf >\x{1680}\x{2028}\x{0b} 0: >\x{1680}\x{2028}\x{0b} 1: >\x{1680}\x{2028} 2: >\x{1680}
/^>\p{Xps}*/utf > \x{09}\x{0a}\x{0c}\x{0d}\x{a0}\x{1680}\x{2028}\x{0b} 0: > \x{09}\x{0a}\x{0c}\x{0d}\x{a0}\x{1680}\x{2028}\x{0b} /^>\p{Xps}{2,9}/utf > \x{09}\x{0a}\x{0c}\x{0d}\x{a0}\x{1680}\x{2028}\x{0b} 0: > \x{09}\x{0a}\x{0c}\x{0d}\x{a0}\x{1680}\x{2028}\x{0b} /^>\p{Xps}{2,9}?/utf > \x{09}\x{0a}\x{0c}\x{0d}\x{a0}\x{1680}\x{2028}\x{0b} 0: > \x{09}\x{0a}\x{0c}\x{0d}\x{a0}\x{1680}\x{2028}\x{0b} 1: > \x{09}\x{0a}\x{0c}\x{0d}\x{a0}\x{1680}\x{2028} 2: > \x{09}\x{0a}\x{0c}\x{0d}\x{a0}\x{1680} 3: > \x{09}\x{0a}\x{0c}\x{0d}\x{a0} 4: > \x{09}\x{0a}\x{0c}\x{0d} 5: > \x{09}\x{0a}\x{0c} 6: > \x{09}\x{0a} 7: > \x{09} /^>[\p{Xps}]/utf >\x{2028}\x{0b} 0: >\x{2028} /^>[\p{Xps}]+/utf > \x{09}\x{0a}\x{0c}\x{0d}\x{a0}\x{1680}\x{2028}\x{0b} 0: > \x{09}\x{0a}\x{0c}\x{0d}\x{a0}\x{1680}\x{2028}\x{0b}
/^\p{Xwd}/utf ABCD 0: A 1234 0: 1 \x{6ca} 0: \x{6ca} \x{a6c} 0: \x{a6c} \x{10a7} 0: \x{10a7} _ABC 0: _ \= Expect no match [] No match
/^\p{Xwd}+/utf ABCD1234\x{6ca}\x{a6c}\x{10a7}_ 0: ABCD1234\x{6ca}\x{a6c}\x{10a7}_
/^\p{Xwd}*/utf ABCD1234\x{6ca}\x{a6c}\x{10a7}_ 0: ABCD1234\x{6ca}\x{a6c}\x{10a7}_ /^\p{Xwd}{2,9}/utf A_12\x{6ca}\x{a6c}\x{10a7} 0: A_12\x{6ca}\x{a6c}\x{10a7} /^[\p{Xwd}]/utf ABCD1234_ 0: A 1234abcd_ 0: 1 \x{6ca} 0: \x{6ca} \x{a6c} 0: \x{a6c} \x{10a7} 0: \x{10a7} _ABC 0: _ \= Expect no match [] No match /^[\p{Xwd}]+/utf ABCD1234\x{6ca}\x{a6c}\x{10a7}_ 0: ABCD1234\x{6ca}\x{a6c}\x{10a7}_
# Unicode properties for \b and \B
/\b...\B/utf,ucp abc_ 0: abc \x{37e}abc\x{376} 0: abc \x{37e}\x{376}\x{371}\x{393}\x{394} 0: \x{376}\x{371}\x{393} !\x{c0}++\x{c1}\x{c2} 0: ++\x{c1} !\x{c0}+++++ 0: \x{c0}++
# Without PCRE_UCP, non-ASCII always fail, even if < 256
/\b...\B/utf abc_ 0: abc \= Expect no match \x{37e}abc\x{376} No match \x{37e}\x{376}\x{371}\x{393}\x{394} No match !\x{c0}++\x{c1}\x{c2} No match !\x{c0}+++++ No match
# With PCRE_UCP, non-UTF8 chars that are < 256 still check properties
/\b...\B/ucp abc_ 0: abc !\x{c0}++\x{c1}\x{c2} 0: ++\xc1 !\x{c0}+++++ 0: \xc0++ # Caseless single negated characters > 127 need UCP support
/[^\x{100}]/i,utf \x{100}\x{101}X 0: X
/[^\x{100}]+/i,utf \x{100}\x{101}XX 0: XX
/^\X/utf A\=ps 0: A A\=ph Partial match: A A\x{300}\x{301}\=ps 0: A\x{300}\x{301} A\x{300}\x{301}\=ph Partial match: A\x{300}\x{301} A\x{301}\=ps 0: A\x{301} A\x{301}\=ph Partial match: A\x{301} /^\X{2,3}/utf A\=ps Partial match: A A\=ph Partial match: A AA\=ps 0: AA AA\=ph Partial match: AA A\x{300}\x{301}\=ps Partial match: A\x{300}\x{301} A\x{300}\x{301}\=ph Partial match: A\x{300}\x{301} A\x{300}\x{301}A\x{300}\x{301}\=ps 0: A\x{300}\x{301}A\x{300}\x{301} A\x{300}\x{301}A\x{300}\x{301}\=ph Partial match: A\x{300}\x{301}A\x{300}\x{301}
/^\X{2}/utf AA\=ps 0: AA AA\=ph Partial match: AA A\x{300}\x{301}A\x{300}\x{301}\=ps 0: A\x{300}\x{301}A\x{300}\x{301} A\x{300}\x{301}A\x{300}\x{301}\=ph Partial match: A\x{300}\x{301}A\x{300}\x{301} /^\X+/utf AA\=ps 0: AA AA\=ph Partial match: AA
/^\X+?Z/utf AA\=ps Partial match: AA AA\=ph Partial match: AA
# These are tests for extended grapheme clusters
/^\X/utf,aftertext G\x{34e}\x{34e}X 0: G\x{34e}\x{34e} 0+ X \x{34e}\x{34e}X 0: \x{34e}\x{34e} 0+ X \x04X 0: \x{04} 0+ X \x{1100}X 0: \x{1100} 0+ X \x{1100}\x{34e}X 0: \x{1100}\x{34e} 0+ X \x{1b04}\x{1b04}X 0: \x{1b04}\x{1b04} 0+ X \= These match up to the roman letters \x{1111}\x{1111}L,L 0: \x{1111}\x{1111} 0+ L,L \x{1111}\x{1111}\x{1169}L,L,V 0: \x{1111}\x{1111}\x{1169} 0+ L,L,V \x{1111}\x{ae4c}L, LV 0: \x{1111}\x{ae4c} 0+ L, LV \x{1111}\x{ad89}L, LVT 0: \x{1111}\x{ad89} 0+ L, LVT \x{1111}\x{ae4c}\x{1169}L, LV, V 0: \x{1111}\x{ae4c}\x{1169} 0+ L, LV, V \x{1111}\x{ae4c}\x{1169}\x{1169}L, LV, V, V 0: \x{1111}\x{ae4c}\x{1169}\x{1169} 0+ L, LV, V, V \x{1111}\x{ae4c}\x{1169}\x{11fe}L, LV, V, T 0: \x{1111}\x{ae4c}\x{1169}\x{11fe} 0+ L, LV, V, T \x{1111}\x{ad89}\x{11fe}L, LVT, T 0: \x{1111}\x{ad89}\x{11fe} 0+ L, LVT, T \x{1111}\x{ad89}\x{11fe}\x{11fe}L, LVT, T, T 0: \x{1111}\x{ad89}\x{11fe}\x{11fe} 0+ L, LVT, T, T \x{ad89}\x{11fe}\x{11fe}LVT, T, T 0: \x{ad89}\x{11fe}\x{11fe} 0+ LVT, T, T \= These match just the first codepoint (invalid sequence) \x{1111}\x{11fe}L, T 0: \x{1111} 0+ \x{11fe}L, T \x{ae4c}\x{1111}LV, L 0: \x{ae4c} 0+ \x{1111}LV, L \x{ae4c}\x{ae4c}LV, LV 0: \x{ae4c} 0+ \x{ae4c}LV, LV \x{ae4c}\x{ad89}LV, LVT 0: \x{ae4c} 0+ \x{ad89}LV, LVT \x{1169}\x{1111}V, L 0: \x{1169} 0+ \x{1111}V, L \x{1169}\x{ae4c}V, LV 0: \x{1169} 0+ \x{ae4c}V, LV \x{1169}\x{ad89}V, LVT 0: \x{1169} 0+ \x{ad89}V, LVT \x{ad89}\x{1111}LVT, L 0: \x{ad89} 0+ \x{1111}LVT, L \x{ad89}\x{1169}LVT, V 0: \x{ad89} 0+ \x{1169}LVT, V \x{ad89}\x{ae4c}LVT, LV 0: \x{ad89} 0+ \x{ae4c}LVT, LV \x{ad89}\x{ad89}LVT, LVT 0: \x{ad89} 0+ \x{ad89}LVT, LVT \x{11fe}\x{1111}T, L 0: \x{11fe} 0+ \x{1111}T, L \x{11fe}\x{1169}T, V 0: \x{11fe} 0+ \x{1169}T, V \x{11fe}\x{ae4c}T, LV 0: \x{11fe} 0+ \x{ae4c}T, LV \x{11fe}\x{ad89}T, LVT 0: \x{11fe} 0+ \x{ad89}T, LVT \= Test extend and spacing mark \x{1111}\x{ae4c}\x{0711}L, LV, extend 0: \x{1111}\x{ae4c}\x{711} 0+ L, LV, extend \x{1111}\x{ae4c}\x{1b04}L, LV, spacing mark 0: \x{1111}\x{ae4c}\x{1b04} 0+ L, LV, spacing mark \x{1111}\x{ae4c}\x{1b04}\x{0711}\x{1b04}L, LV, spacing mark, extend, spacing mark 0: \x{1111}\x{ae4c}\x{1b04}\x{711}\x{1b04} 0+ L, LV, spacing mark, extend, spacing mark \= Test CR, LF, and control \x0d\x{0711}CR, extend 0: \x{0d} 0+ \x{711}CR, extend \x0d\x{1b04}CR, spacingmark 0: \x{0d} 0+ \x{1b04}CR, spacingmark \x0a\x{0711}LF, extend 0: \x{0a} 0+ \x{711}LF, extend \x0a\x{1b04}LF, spacingmark 0: \x{0a} 0+ \x{1b04}LF, spacingmark \x0b\x{0711}Control, extend 0: \x{0b} 0+ \x{711}Control, extend \x09\x{1b04}Control, spacingmark 0: \x{09} 0+ \x{1b04}Control, spacingmark \= There are no Prepend characters, so we can't test Prepend, CR /^(?>\X{2})X/utf,aftertext \x{1111}\x{ae4c}\x{1111}\x{ae4c}X 0: \x{1111}\x{ae4c}\x{1111}\x{ae4c}X 0+ /^\X{2,4}X/utf,aftertext \x{1111}\x{ae4c}\x{1111}\x{ae4c}X 0: \x{1111}\x{ae4c}\x{1111}\x{ae4c}X 0+ \x{1111}\x{ae4c}\x{1111}\x{ae4c}\x{1111}\x{ae4c}X 0: \x{1111}\x{ae4c}\x{1111}\x{ae4c}\x{1111}\x{ae4c}X 0+ \x{1111}\x{ae4c}\x{1111}\x{ae4c}\x{1111}\x{ae4c}\x{1111}\x{ae4c}X 0: \x{1111}\x{ae4c}\x{1111}\x{ae4c}\x{1111}\x{ae4c}\x{1111}\x{ae4c}X 0+
/^\X{2,4}?X/utf,aftertext \x{1111}\x{ae4c}\x{1111}\x{ae4c}X 0: \x{1111}\x{ae4c}\x{1111}\x{ae4c}X 0+ \x{1111}\x{ae4c}\x{1111}\x{ae4c}\x{1111}\x{ae4c}X 0: \x{1111}\x{ae4c}\x{1111}\x{ae4c}\x{1111}\x{ae4c}X 0+ \x{1111}\x{ae4c}\x{1111}\x{ae4c}\x{1111}\x{ae4c}\x{1111}\x{ae4c}X 0: \x{1111}\x{ae4c}\x{1111}\x{ae4c}\x{1111}\x{ae4c}\x{1111}\x{ae4c}X 0+
/\x{1e9e}+/i,utf \x{1e9e}\x{00df} 0: \x{1e9e}\x{df}
/[z\x{1e9e}]+/i,utf \x{1e9e}\x{00df} 0: \x{1e9e}\x{df}
/\x{00df}+/i,utf \x{1e9e}\x{00df} 0: \x{1e9e}\x{df}
/[z\x{00df}]+/i,utf \x{1e9e}\x{00df} 0: \x{1e9e}\x{df}
/\x{1f88}+/i,utf \x{1f88}\x{1f80} 0: \x{1f88}\x{1f80}
/[z\x{1f88}]+/i,utf \x{1f88}\x{1f80} 0: \x{1f88}\x{1f80}
# Perl matches these
/\x{00b5}+/i,utf \x{00b5}\x{039c}\x{03bc} 0: \x{b5}\x{39c}\x{3bc}
/\x{039c}+/i,utf \x{00b5}\x{039c}\x{03bc} 0: \x{b5}\x{39c}\x{3bc}
/\x{03bc}+/i,utf \x{00b5}\x{039c}\x{03bc} 0: \x{b5}\x{39c}\x{3bc}
/\x{00c5}+/i,utf \x{00c5}\x{00e5}\x{212b} 0: \x{c5}\x{e5}\x{212b}
/\x{00e5}+/i,utf \x{00c5}\x{00e5}\x{212b} 0: \x{c5}\x{e5}\x{212b}
/\x{212b}+/i,utf \x{00c5}\x{00e5}\x{212b} 0: \x{c5}\x{e5}\x{212b}
/\x{01c4}+/i,utf \x{01c4}\x{01c5}\x{01c6} 0: \x{1c4}\x{1c5}\x{1c6}
/\x{01c5}+/i,utf \x{01c4}\x{01c5}\x{01c6} 0: \x{1c4}\x{1c5}\x{1c6}
/\x{01c6}+/i,utf \x{01c4}\x{01c5}\x{01c6} 0: \x{1c4}\x{1c5}\x{1c6}
/\x{01c7}+/i,utf \x{01c7}\x{01c8}\x{01c9} 0: \x{1c7}\x{1c8}\x{1c9}
/\x{01c8}+/i,utf \x{01c7}\x{01c8}\x{01c9} 0: \x{1c7}\x{1c8}\x{1c9}
/\x{01c9}+/i,utf \x{01c7}\x{01c8}\x{01c9} 0: \x{1c7}\x{1c8}\x{1c9}
/\x{01ca}+/i,utf \x{01ca}\x{01cb}\x{01cc} 0: \x{1ca}\x{1cb}\x{1cc}
/\x{01cb}+/i,utf \x{01ca}\x{01cb}\x{01cc} 0: \x{1ca}\x{1cb}\x{1cc}
/\x{01cc}+/i,utf \x{01ca}\x{01cb}\x{01cc} 0: \x{1ca}\x{1cb}\x{1cc}
/\x{01f1}+/i,utf \x{01f1}\x{01f2}\x{01f3} 0: \x{1f1}\x{1f2}\x{1f3}
/\x{01f2}+/i,utf \x{01f1}\x{01f2}\x{01f3} 0: \x{1f1}\x{1f2}\x{1f3}
/\x{01f3}+/i,utf \x{01f1}\x{01f2}\x{01f3} 0: \x{1f1}\x{1f2}\x{1f3}
/\x{0345}+/i,utf \x{0345}\x{0399}\x{03b9}\x{1fbe} 0: \x{345}\x{399}\x{3b9}\x{1fbe}
/\x{0399}+/i,utf \x{0345}\x{0399}\x{03b9}\x{1fbe} 0: \x{345}\x{399}\x{3b9}\x{1fbe}
/\x{03b9}+/i,utf \x{0345}\x{0399}\x{03b9}\x{1fbe} 0: \x{345}\x{399}\x{3b9}\x{1fbe}
/\x{1fbe}+/i,utf \x{0345}\x{0399}\x{03b9}\x{1fbe} 0: \x{345}\x{399}\x{3b9}\x{1fbe}
/\x{0392}+/i,utf \x{0392}\x{03b2}\x{03d0} 0: \x{392}\x{3b2}\x{3d0}
/\x{03b2}+/i,utf \x{0392}\x{03b2}\x{03d0} 0: \x{392}\x{3b2}\x{3d0}
/\x{03d0}+/i,utf \x{0392}\x{03b2}\x{03d0} 0: \x{392}\x{3b2}\x{3d0}
/\x{0395}+/i,utf \x{0395}\x{03b5}\x{03f5} 0: \x{395}\x{3b5}\x{3f5}
/\x{03b5}+/i,utf \x{0395}\x{03b5}\x{03f5} 0: \x{395}\x{3b5}\x{3f5}
/\x{03f5}+/i,utf \x{0395}\x{03b5}\x{03f5} 0: \x{395}\x{3b5}\x{3f5}
/\x{0398}+/i,utf \x{0398}\x{03b8}\x{03d1}\x{03f4} 0: \x{398}\x{3b8}\x{3d1}\x{3f4}
/\x{03b8}+/i,utf \x{0398}\x{03b8}\x{03d1}\x{03f4} 0: \x{398}\x{3b8}\x{3d1}\x{3f4}
/\x{03d1}+/i,utf \x{0398}\x{03b8}\x{03d1}\x{03f4} 0: \x{398}\x{3b8}\x{3d1}\x{3f4}
/\x{03f4}+/i,utf \x{0398}\x{03b8}\x{03d1}\x{03f4} 0: \x{398}\x{3b8}\x{3d1}\x{3f4}
/\x{039a}+/i,utf \x{039a}\x{03ba}\x{03f0} 0: \x{39a}\x{3ba}\x{3f0}
/\x{03ba}+/i,utf \x{039a}\x{03ba}\x{03f0} 0: \x{39a}\x{3ba}\x{3f0}
/\x{03f0}+/i,utf \x{039a}\x{03ba}\x{03f0} 0: \x{39a}\x{3ba}\x{3f0} /\x{03a0}+/i,utf \x{03a0}\x{03c0}\x{03d6} 0: \x{3a0}\x{3c0}\x{3d6}
/\x{03c0}+/i,utf \x{03a0}\x{03c0}\x{03d6} 0: \x{3a0}\x{3c0}\x{3d6}
/\x{03d6}+/i,utf \x{03a0}\x{03c0}\x{03d6} 0: \x{3a0}\x{3c0}\x{3d6}
/\x{03a1}+/i,utf \x{03a1}\x{03c1}\x{03f1} 0: \x{3a1}\x{3c1}\x{3f1}
/\x{03c1}+/i,utf \x{03a1}\x{03c1}\x{03f1} 0: \x{3a1}\x{3c1}\x{3f1}
/\x{03f1}+/i,utf \x{03a1}\x{03c1}\x{03f1} 0: \x{3a1}\x{3c1}\x{3f1}
/\x{03a3}+/i,utf \x{03A3}\x{03C2}\x{03C3} 0: \x{3a3}\x{3c2}\x{3c3}
/\x{03c2}+/i,utf \x{03A3}\x{03C2}\x{03C3} 0: \x{3a3}\x{3c2}\x{3c3}
/\x{03c3}+/i,utf \x{03A3}\x{03C2}\x{03C3} 0: \x{3a3}\x{3c2}\x{3c3}
/\x{03a6}+/i,utf \x{03a6}\x{03c6}\x{03d5} 0: \x{3a6}\x{3c6}\x{3d5}
/\x{03c6}+/i,utf \x{03a6}\x{03c6}\x{03d5} 0: \x{3a6}\x{3c6}\x{3d5}
/\x{03d5}+/i,utf \x{03a6}\x{03c6}\x{03d5} 0: \x{3a6}\x{3c6}\x{3d5}
/\x{03c9}+/i,utf \x{03c9}\x{03a9}\x{2126} 0: \x{3c9}\x{3a9}\x{2126}
/\x{03a9}+/i,utf \x{03c9}\x{03a9}\x{2126} 0: \x{3c9}\x{3a9}\x{2126}
/\x{2126}+/i,utf \x{03c9}\x{03a9}\x{2126} 0: \x{3c9}\x{3a9}\x{2126} /\x{1e60}+/i,utf \x{1e60}\x{1e61}\x{1e9b} 0: \x{1e60}\x{1e61}\x{1e9b}
/\x{1e61}+/i,utf \x{1e60}\x{1e61}\x{1e9b} 0: \x{1e60}\x{1e61}\x{1e9b}
/\x{1e9b}+/i,utf \x{1e60}\x{1e61}\x{1e9b} 0: \x{1e60}\x{1e61}\x{1e9b} /\x{1e9e}+/i,utf \x{1e9e}\x{00df} 0: \x{1e9e}\x{df}
/\x{00df}+/i,utf \x{1e9e}\x{00df} 0: \x{1e9e}\x{df} /\x{1f88}+/i,utf \x{1f88}\x{1f80} 0: \x{1f88}\x{1f80}
/\x{1f80}+/i,utf \x{1f88}\x{1f80} 0: \x{1f88}\x{1f80}
/\x{004b}+/i,utf \x{004b}\x{006b}\x{212a} 0: Kk\x{212a}
/\x{006b}+/i,utf \x{004b}\x{006b}\x{212a} 0: Kk\x{212a}
/\x{212a}+/i,utf \x{004b}\x{006b}\x{212a} 0: Kk\x{212a}
/\x{0053}+/i,utf \x{0053}\x{0073}\x{017f} 0: Ss\x{17f}
/\x{0073}+/i,utf \x{0053}\x{0073}\x{017f} 0: Ss\x{17f}
/\x{017f}+/i,utf \x{0053}\x{0073}\x{017f} 0: Ss\x{17f}
/ist/i,utf \= Expect no match ikt No match
/is+t/i,utf iSs\x{17f}t 0: iSs\x{17f}t \= Expect no match ikt No match
/is+?t/i,utf \= Expect no match ikt No match
/is?t/i,utf \= Expect no match ikt No match
/is{2}t/i,utf \= Expect no match iskt No match
/^\p{Xuc}/utf $abc 0: $ @abc 0: @ `abc 0: ` \x{1234}abc 0: \x{1234} \= Expect no match abc No match
/^\p{Xuc}+/utf $@`\x{a0}\x{1234}\x{e000}** 0: $@`\x{a0}\x{1234}\x{e000} \= Expect no match \x{9f} No match
/^\p{Xuc}+?/utf $@`\x{a0}\x{1234}\x{e000}** 0: $@`\x{a0}\x{1234}\x{e000} 1: $@`\x{a0}\x{1234} 2: $@`\x{a0} 3: $@` 4: $@ 5: $ \= Expect no match \x{9f} No match
/^\p{Xuc}+?\*/utf $@`\x{a0}\x{1234}\x{e000}** 0: $@`\x{a0}\x{1234}\x{e000}* \= Expect no match \x{9f} No match
/^\p{Xuc}++/utf $@`\x{a0}\x{1234}\x{e000}** 0: $@`\x{a0}\x{1234}\x{e000} \= Expect no match \x{9f} No match
/^\p{Xuc}{3,5}/utf $@`\x{a0}\x{1234}\x{e000}** 0: $@`\x{a0}\x{1234} \= Expect no match \x{9f} No match
/^\p{Xuc}{3,5}?/utf $@`\x{a0}\x{1234}\x{e000}** 0: $@`\x{a0}\x{1234} 1: $@`\x{a0} 2: $@` \= Expect no match \x{9f} No match
/^[\p{Xuc}]/utf $@`\x{a0}\x{1234}\x{e000}** 0: $ \= Expect no match \x{9f} No match
/^[\p{Xuc}]+/utf $@`\x{a0}\x{1234}\x{e000}** 0: $@`\x{a0}\x{1234}\x{e000} \= Expect no match \x{9f} No match
/^\P{Xuc}/utf abc 0: a \= Expect no match $abc No match @abc No match `abc No match \x{1234}abc No match
/^[\P{Xuc}]/utf abc 0: a \= Expect no match $abc No match @abc No match `abc No match \x{1234}abc No match
/^A\s+Z/utf,ucp A\x{2005}Z 0: A\x{2005}Z A\x{85}\x{180e}\x{2005}Z 0: A\x{85}\x{180e}\x{2005}Z
/^A[\s]+Z/utf,ucp A\x{2005}Z 0: A\x{2005}Z A\x{85}\x{180e}\x{2005}Z 0: A\x{85}\x{180e}\x{2005}Z
/(?<=\x{100})\x{200}(?=\x{300})/utf,allusedtext \x{100}\x{200}\x{300} 0: \x{100}\x{200}\x{300} <<<<<<< >>>>>>>
# ----------------------------------------------------------------------------- # Tests for bidi control and bidi class properties
/\p{ bidi_control }/utf -->\x{202c}<-- 0: \x{202c}
/\p{bidicontrol}+/utf -->\x{061c}\x{200e}\x{200f}\x{202a}\x{202b}\x{202c}\x{202d}<-- 0: \x{61c}\x{200e}\x{200f}\x{202a}\x{202b}\x{202c}\x{202d} -->\x{2066}\x{2067}\x{2068}\x{2069}<-- 0: \x{2066}\x{2067}\x{2068}\x{2069}
/\p{bidicontrol}+?/utf -->\x{061c}\x{200e}\x{200f}\x{202a}\x{202b}\x{202c}\x{202d}<-- 0: \x{61c}\x{200e}\x{200f}\x{202a}\x{202b}\x{202c}\x{202d} 1: \x{61c}\x{200e}\x{200f}\x{202a}\x{202b}\x{202c} 2: \x{61c}\x{200e}\x{200f}\x{202a}\x{202b} 3: \x{61c}\x{200e}\x{200f}\x{202a} 4: \x{61c}\x{200e}\x{200f} 5: \x{61c}\x{200e} 6: \x{61c} -->\x{2066}\x{2067}\x{2068}\x{2069}<-- 0: \x{2066}\x{2067}\x{2068}\x{2069} 1: \x{2066}\x{2067}\x{2068} 2: \x{2066}\x{2067} 3: \x{2066}
/\p{bidicontrol}++/utf -->\x{061c}\x{200e}\x{200f}\x{202a}\x{202b}\x{202c}\x{202d}<-- 0: \x{61c}\x{200e}\x{200f}\x{202a}\x{202b}\x{202c}\x{202d} -->\x{2066}\x{2067}\x{2068}\x{2069}<-- 0: \x{2066}\x{2067}\x{2068}\x{2069}
/[\p{bidi_control}]/utf -->\x{202c}<-- 0: \x{202c}
/[\p{bidicontrol}]+/utf -->\x{061c}\x{200e}\x{200f}\x{202a}\x{202b}\x{202c}\x{202d}<-- 0: \x{61c}\x{200e}\x{200f}\x{202a}\x{202b}\x{202c}\x{202d} -->\x{2066}\x{2067}\x{2068}\x{2069}<-- 0: \x{2066}\x{2067}\x{2068}\x{2069}
/[\p{bidicontrol}]+?/utf -->\x{061c}\x{200e}\x{200f}\x{202a}\x{202b}\x{202c}\x{202d}<-- 0: \x{61c}\x{200e}\x{200f}\x{202a}\x{202b}\x{202c}\x{202d} 1: \x{61c}\x{200e}\x{200f}\x{202a}\x{202b}\x{202c} 2: \x{61c}\x{200e}\x{200f}\x{202a}\x{202b} 3: \x{61c}\x{200e}\x{200f}\x{202a} 4: \x{61c}\x{200e}\x{200f} 5: \x{61c}\x{200e} 6: \x{61c} -->\x{2066}\x{2067}\x{2068}\x{2069}<-- 0: \x{2066}\x{2067}\x{2068}\x{2069} 1: \x{2066}\x{2067}\x{2068} 2: \x{2066}\x{2067} 3: \x{2066}
/[\p{bidicontrol}]++/utf -->\x{061c}\x{200e}\x{200f}\x{202a}\x{202b}\x{202c}\x{202d}<-- 0: \x{61c}\x{200e}\x{200f}\x{202a}\x{202b}\x{202c}\x{202d} -->\x{2066}\x{2067}\x{2068}\x{2069}<-- 0: \x{2066}\x{2067}\x{2068}\x{2069}
/[\p{bidicontrol}<>]+/utf -->\x{061c}\x{200e}\x{200f}\x{202a}\x{202b}\x{202c}\x{202d}<-- 0: >\x{61c}\x{200e}\x{200f}\x{202a}\x{202b}\x{202c}\x{202d}< -->\x{2066}\x{2067}\x{2068}\x{2069}<-- 0: >\x{2066}\x{2067}\x{2068}\x{2069}<
/\P{bidicontrol}+/g,utf -->\x{061c}\x{200e}\x{200f}\x{202a}\x{202b}\x{202c}\x{202d}<-- 0: --> 0: <-- -->\x{2066}\x{2067}\x{2068}\x{2069}<-- 0: --> 0: <--
/\p{^bidicontrol}+/g,utf -->\x{061c}\x{200e}\x{200f}\x{202a}\x{202b}\x{202c}\x{202d}<-- 0: --> 0: <-- -->\x{2066}\x{2067}\x{2068}\x{2069}<-- 0: --> 0: <--
/\p{bidi class = al}/utf -->\x{061D}<-- 0: \x{61d}
/\p{bidi class = al}+/utf -->\x{061D}\x{061e}\x{061f}<-- 0: \x{61d}\x{61e}\x{61f}
/\p{bidi_class : AL}+?/utf -->\x{061D}\x{061e}\x{061f}<-- 0: \x{61d}\x{61e}\x{61f} 1: \x{61d}\x{61e} 2: \x{61d}
/\p{Bidi_Class : AL}++/utf -->\x{061D}\x{061e}\x{061f}<-- 0: \x{61d}\x{61e}\x{61f}
/\p{bidi class = aN}+/utf -->\x{061D}\x{0602}\x{0604}\x{061f}<-- 0: \x{602}\x{604}
/\p{bidi class = B}+/utf -->\x{0a}\x{0d}\x{01c}\x{01e}\x{085}\x{2029}<-- 0: \x{0a}\x{0d}\x{1c}\x{1e}\x{85}\x{2029}
/\p{bidi class:BN}+/utf -->\x{0}\x{08}\x{200c}\x{fffe}\x{dfffe}\x{10ffff}<-- 0: \x{00}\x{08}\x{200c}\x{fffe}\x{dfffe}\x{10ffff}
/\p{bidiclass:cs}+/utf -->,.\x{060c}\x{ff1a}<-- 0: ,.\x{60c}\x{ff1a}
/\p{bidiclass:En}+/utf -->09\x{b2}\x{2074}\x{1fbf9}<-- 0: 09\x{b2}\x{2074}\x{1fbf9}
/\p{bidiclass:es}+/utf ==>+-\x{207a}\x{ff0d}<== 0: +-\x{207a}\x{ff0d}
/\p{bidiclass:et}+/utf -->#\{24}%\x{a2}\x{A838}\x{1e2ff}<-- 0: #
/\p{bidiclass:FSI}+/utf -->\x{2068}<-- 0: \x{2068}
/\p{bidi class:L}+/utf -->ABC<-- 0: ABC
/\P{bidi class:L}+/utf -->ABC<-- 0: -->
/\p{bidi class:LRE}+\p{bidiclass=lri}*\p{bidiclass:lro}/utf -->\x{202a}\x{2066}\x{202d}<-- 0: \x{202a}\x{2066}\x{202d}
/\p{bidi class:NSM}+/utf -->\x{9bc}\x{a71}\x{e31}<-- 0: \x{9bc}\x{a71}\x{e31}
/\p{bidi class:ON}+/utf -->\x{21}'()*;@\x{384}\x{2039}<=- 0: >!'()*;@\x{384}\x{2039}<=
/\p{bidiclass:pdf}\p{bidiclass:pdi}/utf -->\x{202c}\x{2069}<-- 0: \x{202c}\x{2069}
/\p{bidi class:R}+/utf -->\x{590}\x{5c6}\x{200f}\x{10805}<-- 0: \x{590}\x{5c6}\x{200f}\x{10805}
/\p{bidi class:RLE}+\p{bidi class:RLI}*\p{bidi class:RLO}+/utf -->\x{202b}\x{2067}\x{202e}<-- 0: \x{202b}\x{2067}\x{202e} /\p{bidi class:S}+\p{bidiclass:WS}+/utf -->\x{9}\x{b}\x{1f} \x{c} \x{2000} \x{3000}<-- 0: \x{09}\x{0b}\x{1f} \x{0c} \x{2000} \x{3000}
# -----------------------------------------------------------------------------
/\p{katakana}/utf \x{30a1} 0: \x{30a1} \x{3001} 0: \x{3001}
/\p{scx:katakana}/utf \x{30a1} 0: \x{30a1} \x{3001} 0: \x{3001} /\p{script extensions:katakana}/utf \x{30a1} 0: \x{30a1} \x{3001} 0: \x{3001} /\p{sc:katakana}/utf \x{30a1} 0: \x{30a1} \= Expect no match \x{3001} No match /\p{script:katakana}/utf \x{30a1} 0: \x{30a1} \= Expect no match \x{3001} No match /\p{sc:katakana}{3,}/utf \x{30a1}\x{30fa}\x{32d0}\x{1b122}\x{ff66}\x{3001}ABC 0: \x{30a1}\x{30fa}\x{32d0}\x{1b122}\x{ff66}
/\p{sc:katakana}{3,}?/utf \x{30a1}\x{30fa}\x{32d0}\x{1b122}\x{ff66}\x{3001}ABC 0: \x{30a1}\x{30fa}\x{32d0}\x{1b122}\x{ff66} 1: \x{30a1}\x{30fa}\x{32d0}\x{1b122} 2: \x{30a1}\x{30fa}\x{32d0}
# Tests for PCRE2_EXTRA_CASELESS_RESTRICT. Compare each test with and without # the restriction.
/AskZ/i,utf,caseless_restrict AskZ 0: AskZ aSKz 0: aSKz \= Expect no match A\x{17f}kZ No match As\x{212a}Z No match
/AskZ/i,utf AskZ 0: AskZ aSKz 0: aSKz A\x{17f}kZ 0: A\x{17f}kZ As\x{212a}Z 0: As\x{212a}Z
/A\x{17f}\x{212a}Z/ir,utf \= Expect no match AskZ No match
/A\x{17f}\x{212a}Z/i,utf AskZ 0: AskZ
/[AskZ]+/i,utf,caseless_restrict AskZ 0: AskZ aSKz 0: aSKz A\x{17f}kZ 0: A As\x{212a}Z 0: As
/[AskZ]+/i,utf AskZ 0: AskZ aSKz 0: aSKz A\x{17f}kZ 0: A\x{17f}kZ As\x{212a}Z 0: As\x{212a}Z
/[\x{17f}\x{212a}]+/ir,utf \= Expect no match AskZ No match
/[\x{17f}\x{212a}]+/i,utf AskZ 0: sk
/[^s]+/ir,utf A\x{17f}Z 0: A\x{17f}Z
/[^s]+/i,utf A\x{17f}Z 0: A
/[^k]+/ir,utf A\x{212a}Z 0: A\x{212a}Z /[^k]+/i,utf A\x{212a}Z 0: A /[^sk]+/ir,utf A\x{17f}\x{212a}Z 0: A\x{17f}\x{212a}Z
/[^sk]+/i,utf A\x{17f}\x{212a}Z 0: A
/[^\x{17f}]+/ir,utf AsSZ 0: AsSZ
/[^\x{17f}]+/i,utf AsSZ 0: A
/[Ss]+/irB,utf ------------------------------------------------------------------ Bra /i S++ Ket End ------------------------------------------------------------------ Sss\x{17f}ss 0: Sss
/[Ss]+/iB,utf ------------------------------------------------------------------ Bra [Ss\x{17f}\x{17f}]++ Ket End ------------------------------------------------------------------ Sss\x{17f}ss 0: Sss\x{17f}ss
/[S\x{17f}]/irB,utf ------------------------------------------------------------------ Bra [Ss\x{17f}] Ket End ------------------------------------------------------------------
/[S\x{17f}]/iB,utf ------------------------------------------------------------------ Bra [Ss\x{17f}\x{17f}] Ket End ------------------------------------------------------------------
/[\x{17f}s]/irB,utf ------------------------------------------------------------------ Bra [Ss\x{17f}] Ket End ------------------------------------------------------------------
/[\x{17f}s]/iB,utf ------------------------------------------------------------------ Bra [Ss\x{17f}\x{17f}] Ket End ------------------------------------------------------------------
/[\x{4b}\x{6b}]/irB,utf ------------------------------------------------------------------ Bra /i K Ket End ------------------------------------------------------------------
/[\x{4b}\x{6b}]/iB,utf ------------------------------------------------------------------ Bra [Kk\x{212a}\x{212a}] Ket End ------------------------------------------------------------------
/s(?r)s(?-r)s(?r:s)s/i,utf \x{17f}S\x{17f}S\x{17f} 0: \x{17f}S\x{17f}S\x{17f} \= Expect no match \x{17f}\x{17f}\x{17f}S\x{17f} No match \x{17f}S\x{17f}\x{17f}\x{17f} No match
/k(?^i)k/ir,utf K\x{212a} 0: K\x{212a} \= Expect no match \x{212a}\x{212a} No match
# End caseless restrict tests
# TESTS for PCRE2_EXTRA_ASCII_xxx - again, tests with and without.
# DIGITS
/\d+/i,utf 123\x{660}456 0: 123
/\d+/i,utf,ucp 123\x{660}456 0: 123\x{660}456
/\d+/i,utf,ucp,ascii_bsd 123\x{660}456 0: 123
/[\d]+/i,utf 123\x{660}456 0: 123
/[\d]+/i,utf,ucp 123\x{660}456 0: 123\x{660}456
/[\d]+/i,utf,ucp,ascii_bsd 123\x{660}456 0: 123
/\d(?aD)\d(?-aD)\d/utf,ucp \x{660}9\x{660} 0: \x{660}9\x{660} \= Expect no match \x{660}\x{660}\x{660} No match
/\d(?-aD)\d(?aD)\d/utf,ucp,ascii_bsd 999 0: 999 9\x{660}9 0: 9\x{660}9
/\d(?a)\d(?-a)\d/utf,ucp \x{660}9\x{660} 0: \x{660}9\x{660} \= Expect no match \x{660}\x{660}\x{660} No match
/\d(?-aD)\d(?aD)\d/utf,ucp,ascii_bsd 999 0: 999 9\x{660}9 0: 9\x{660}9
# SPACES
/>\s+</i,utf > < 0: > < \= Expect no match >\x{a0} < No match
/>\s+</i,utf,ucp > < 0: > < >\x{a0} < 0: >\x{a0} <
/>\s+</i,utf,ucp,ascii_bss > < 0: > < \= Expect no match >\x{a0} < No match
/>[\s]+</i,utf > < 0: > < \= Expect no match >\x{a0} < No match
/>[\s]+</i,utf,ucp > < 0: > < >\x{a0} < 0: >\x{a0} <
/>[\s]+</i,utf,ucp,ascii_bss > < 0: > < \= Expect no match >\x{a0} < No match
/>\s(?aS)\s(?-aS)\s</utf,ucp >\x{a0} \x{a0}< 0: >\x{a0} \x{a0}< \= Expect no match >\x{a0}\x{a0}\x{a0}< No match
/>\s(?a)\s(?-a)\s</utf,ucp >\x{a0} \x{a0}< 0: >\x{a0} \x{a0}< \= Expect no match >\x{a0}\x{a0}\x{a0}< No match # WORDS
/\w+/i,utf 123\x{660}abc 0: 123
/\w+/i,utf,ucp 123\x{660}abc 0: 123\x{660}abc
/\w+/i,utf,ucp,ascii_bsw 123\x{660}abc 0: 123
/[\w]+/i,utf 123\x{660}abc 0: 123
/[\w]+/i,utf,ucp 123\x{660}abc 0: 123\x{660}abc
/[\w]+/i,utf,ucp,ascii_bsw 123\x{660}abc 0: 123
/\w(?aW)\w(?-aW)\w/utf,ucp \x{660}A\x{c0} 0: \x{660}A\x{c0} \= Expect no match \x{660}\x{c0}\x{c0} No match
/\w(?a)\w(?-a)\w/utf,ucp \x{660}A\x{c0} 0: \x{660}A\x{c0} \= Expect no match \x{660}\x{c0}\x{c0} No match
# POSIX
/^[[:digit:]]+$/utf,ucp 123456 0: 123456 123\x{660}456 0: 123\x{660}456
/^[[:digit:]]+$/utf,ucp,ascii_digit 123456 0: 123456 \= Expect no match 123\x{660}456 No match
/[[:digit:]]+/g,utf,ucp,ascii_digit 123\x{660}456 0: 123 0: 456
/(?-aT)[[:digit:]](?aT)[[:digit:]]/utf,ucp,ascii_digit 11 0: 11 \x{ff11}1 0: \x{ff11}1 \= Expect no match 1\x{ff11} No match
/(?-aT:[[:digit:]])[[:digit:]]/utf,ucp,ascii_digit 11 0: 11 \x{ff11}1 0: \x{ff11}1 \= Expect no match 1\x{ff11} No match
/(?-aT:[[:digit:]])[[:digit:]]/utf,never_ucp,ascii_digit 11 0: 11 \= Expect no match \x{ff11}1 No match 1\x{ff11} No match
/[[:digit:]]+/utf,ucp,ascii_posix 123\x{660}456 0: 123
/(?-aP)[[:digit:]](?aP)[[:digit:]]/utf,ucp,ascii_posix 11 0: 11 \x{ff11}1 0: \x{ff11}1 \= Expect no match 1\x{ff11} No match
/(?-aP:[[:digit:]])[[:digit:]]/utf,ucp,ascii_posix 11 0: 11 \x{ff11}1 0: \x{ff11}1 \= Expect no match 1\x{ff11} No match
/(?-a:[[:digit:]])[[:digit:]]/a,utf,ucp 11 0: 11 \x{ff11}1 0: \x{ff11}1 \= Expect no match 1\x{ff11} No match
/>[[:space:]]+</utf,ucp >\x{a0} \x{a0}< 0: >\x{a0} \x{a0}< >\x{a0}\x{a0}\x{a0}< 0: >\x{a0}\x{a0}\x{a0}<
/>[[:space:]]+</utf,ucp,ascii_posix \= Expect no match >\x{a0} \x{a0}< No match
/(?aP)[[:alnum:]]+/i,ucp,utf abcáxyz 0: abc abc\x{660}xyz 0: abc
/(?aP)[[:alnum:]\d]+/i,ucp,utf abc\x{660}xyz 0: abc\x{660}xyz /(*UCP)(*UTF)[[:alnum:]](?aP:[[:alnum:]])[[:alnum:]]/ \x{660}A\x{660} 0: \x{660}A\x{660} \= Expect no match \x{660}\x{660}\x{660} No match # VARIOUS
/[\d\s\w]+/a,ucp,utf 9 A\x{660}À 0: 9 A 9 AÀ\x{660} 0: 9 A
# End PCRE2_EXTRA_ASCII_xxx tests
/\w+/utf,ucp --cafe\x{300}_au\x{203f}lait! 0: cafe\x{300}_au\x{203f}lait
/[\w]+/utf,ucp --cafe\x{300}_au\x{203f}lait! 0: cafe\x{300}_au\x{203f}lait
/\b.+?\b/utf,ucp --cafe\x{300}_au\x{203f}lait! 0: cafe\x{300}_au\x{203f}lait
/caf\B.+?\B/utf,ucp --cafe\x{300}_au\x{203f}lait! 0: cafe\x{300}_au\x{203f}lait! 1: cafe\x{300}_au\x{203f}lai 2: cafe\x{300}_au\x{203f}la 3: cafe\x{300}_au\x{203f}l 4: cafe\x{300}_au\x{203f} 5: cafe\x{300}_au 6: cafe\x{300}_a 7: cafe\x{300}_ 8: cafe\x{300} 9: cafe
# End of testinput7
|