3
<correct>xyzzy</correct>
5
<invalid>xyzz</invalid>
6
<invalid>xyzzyy</invalid>
7
<invalid>xxyzzy</invalid>
8
<invalid>XYZZY</invalid>
9
<invalid> xyzzy</invalid>
14
<valid>℮</valid>
16
<invalid>𐀀</invalid>
17
<invalid>𐐀</invalid>
18
<invalid>𐐨</invalid>
21
<incorrect>a??</incorrect>
24
<correct>\P{IsGothic}</correct>
25
<invalid>𐌰</invalid>
26
<invalid>𐌿</invalid>
27
<invalid>𐍏</invalid>
29
<valid>𐌯</valid>
30
<valid>𠌰</valid>
31
<valid>𰌰</valid>
32
<valid>𐍐</valid>
35
<correct>\p{IsGothic}</correct>
36
<valid>𐌰</valid>
37
<valid>𐌿</valid>
38
<valid>𐍏</valid>
40
<invalid>𐌯</invalid>
41
<invalid>𠌰</invalid>
42
<invalid>𰌰</invalid>
43
<invalid>𐍐</invalid>
51
<correct>a|b</correct>
54
<correct>[x-y]</correct>
57
<correct>[\p{Nd}-[a-z]]</correct>
60
<correct>[\p{Nd}-[\p{IsThai}]]</correct>
63
<correct>\p{IsThai}</correct>
66
<correct>\i\c*</correct>
69
<correct>~!@#$%\^&\*\(\)_\+`\-=\{\}\[\]\|\\:;"',\.<>/\?</correct>
70
<valid>~!@#$%^&*()_+`-={}[]|\:;"',.<>/?</valid>
73
<correct>[f&&g]</correct>
83
<incorrect>\</incorrect>
86
<incorrect>?</incorrect>
89
<incorrect>*</incorrect>
92
<incorrect>+</incorrect>
95
<incorrect>(</incorrect>
98
<incorrect>[</incorrect>
101
<incorrect>]</incorrect>
118
<invalid>
</invalid>
119
<invalid>
</invalid>
120
<invalid>..</invalid>
121
<valid>𐌰</valid>
124
<incorrect>[^]</incorrect>
127
<incorrect>[]</incorrect>
130
<incorrect>[]]</incorrect>
133
<incorrect>[[]</incorrect>
136
<incorrect>[\]</incorrect>
139
<correct>[^^]</correct>
144
<correct>[?+*(){}|.]</correct>
162
<incorrect>x{2,1}</incorrect>
165
<correct>x{1,1}</correct>
169
<incorrect>x{1, 2}</incorrect>
172
<incorrect>x{ 2}</incorrect>
175
<incorrect>x{2 }</incorrect>
178
<incorrect>x{-0,1}</incorrect>
181
<incorrect>x{+2}</incorrect>
184
<correct>[a-z-[c-y]]</correct>
193
<correct>[abc-[a-a]]</correct>
200
<incorrect>[a-[a]-[a]]</incorrect>
203
<incorrect>\pL</incorrect>
206
<incorrect>\p{IsHighSurrogates}</incorrect>
209
<incorrect>\p{IsHighPrivateUseSurrogates}</incorrect>
212
<incorrect>\p{IsLowSurrogates}</incorrect>
215
<correct>a[𐌰-[𐌰]]*b</correct>
217
<invalid>a𐌰b</invalid>