diff options
Diffstat (limited to 'regextest.xml')
-rw-r--r-- | regextest.xml | 448 |
1 files changed, 224 insertions, 224 deletions
diff --git a/regextest.xml b/regextest.xml index 496886f..b6f896d 100644 --- a/regextest.xml +++ b/regextest.xml @@ -1,224 +1,224 @@ -<testSuite>
-<testCase>
-<correct>xyzzy</correct>
-<valid>xyzzy</valid>
-<invalid>xyzz</invalid>
-<invalid>xyzzyy</invalid>
-<invalid>xxyzzy</invalid>
-<invalid>XYZZY</invalid>
-<invalid> xyzzy</invalid>
-</testCase>
-<testCase>
-<correct>\i</correct>
-<valid>j</valid>
-<valid>℮</valid>
-</testCase>
-<testCase>
-<incorrect>a??</incorrect>
-</testCase>
-<testCase>
-<correct>\P{IsGothic}</correct>
-<invalid>𐌰</invalid>
-<invalid>𐌿</invalid>
-<invalid>𐍏</invalid>
-<valid>X</valid>
-<valid>𐌯</valid>
-<valid>𠌰</valid>
-<valid>𰌰</valid>
-<valid>𐍐</valid>
-</testCase>
-<testCase>
-<correct>\p{IsGothic}</correct>
-<valid>𐌰</valid>
-<valid>𐌿</valid>
-<valid>𐍏</valid>
-<invalid>X</invalid>
-<invalid>𐌯</invalid>
-<invalid>𠌰</invalid>
-<invalid>𰌰</invalid>
-<invalid>𐍐</invalid>
-</testCase>
-<testCase>
-<correct>$</correct>
-<valid>$</valid>
-<invalid/>
-</testCase>
-<testCase>
-<correct>a|b</correct>
-</testCase>
-<testCase>
-<correct>[x-y]</correct>
-</testCase>
-<testCase>
-<correct>[\p{Nd}-[a-z]]</correct>
-</testCase>
-<testCase>
-<correct>[\p{Nd}-[\p{IsThai}]]</correct>
-</testCase>
-<testCase>
-<correct>\p{IsThai}</correct>
-</testCase>
-<testCase>
-<correct>\i\c*</correct>
-</testCase>
-<testCase>
-<correct>~!@#$%\^&\*\(\)_\+`\-=\{\}\[\]\|\\:;"',\.<>/\?</correct>
-<valid>~!@#$%^&*()_+`-={}[]|\:;"',.<>/?</valid>
-</testCase>
-<testCase>
-<correct>[f&&g]</correct>
-<valid>f</valid>
-<valid>&</valid>
-<valid>g</valid>
-</testCase>
-<testCase>
-<correct>^</correct>
-<valid>^</valid>
-</testCase>
-<testCase>
-<incorrect>\</incorrect>
-</testCase>
-<testCase>
-<incorrect>?</incorrect>
-</testCase>
-<testCase>
-<incorrect>*</incorrect>
-</testCase>
-<testCase>
-<incorrect>+</incorrect>
-</testCase>
-<testCase>
-<incorrect>)</incorrect>
-</testCase>
-<testCase>
-<incorrect>(</incorrect>
-</testCase>
-<testCase>
-<incorrect>[</incorrect>
-</testCase>
-<testCase>
-<incorrect>]</incorrect>
-</testCase>
-<testCase>
-<correct>-</correct>
-<valid>-</valid>
-</testCase>
-<testCase>
-<correct>|</correct>
-<valid/>
-<invalid>|</invalid>
-</testCase>
-<testCase>
-<correct>.</correct>
-<valid>.</valid>
-<invalid/>
-<invalid>
-</invalid>
-<invalid>
</invalid>
-<invalid>
</invalid>
-<invalid>..</invalid>
-<valid>𐌰</valid>
-</testCase>
-<testCase>
-<incorrect>[^]</incorrect>
-</testCase>
-<testCase>
-<incorrect>[]</incorrect>
-</testCase>
-<testCase>
-<incorrect>[]]</incorrect>
-</testCase>
-<testCase>
-<incorrect>[[]</incorrect>
-</testCase>
-<testCase>
-<incorrect>[\]</incorrect>
-</testCase>
-<testCase>
-<correct>[^^]</correct>
-<valid>x</valid>
-<invalid>^</invalid>
-</testCase>
-<testCase>
-<correct>[?+*(){}|.]</correct>
-<valid>?</valid>
-<valid>+</valid>
-<valid>*</valid>
-<valid>(</valid>
-<valid>)</valid>
-<valid>{</valid>
-<valid>}</valid>
-<valid>|</valid>
-<valid>.</valid>
-<invalid>x</invalid>
-</testCase>
-<testCase>
-<correct/>
-<valid/>
-<invalid>x</invalid>
-</testCase>
-<testCase>
-<incorrect>x{2,1}</incorrect>
-</testCase>
-<testCase>
-<correct>x{1,1}</correct>
-<valid>x</valid>
-</testCase>
-<testCase>
-<incorrect>x{1, 2}</incorrect>
-</testCase>
-<testCase>
-<incorrect>x{ 2}</incorrect>
-</testCase>
-<testCase>
-<incorrect>x{2 }</incorrect>
-</testCase>
-<testCase>
-<incorrect>x{-0,1}</incorrect>
-</testCase>
-<testCase>
-<incorrect>x{+2}</incorrect>
-</testCase>
-<testCase>
-<correct>x{2147483648}</correct>
-<invalid>x</invalid>
-</testCase>
-<testCase>
-<incorrect>x{2147483649,2147483648}</incorrect>
-</testCase>
-<testCase>
-<correct>x{0,2147483648}</correct>
-<valid>x</valid>
-</testCase>
-<testCase>
-<correct>[a-z-[c-y]]</correct>
-<valid>a</valid>
-<valid>b</valid>
-<valid>z</valid>
-<invalid>c</invalid>
-<invalid>y</invalid>
-<invalid>d</invalid>
-</testCase>
-<testCase>
-<correct>[abc-[a-a]]</correct>
-<valid>b</valid>
-<valid>c</valid>
-<invalid>a</invalid>
-<invalid>d</invalid>
-</testCase>
-<testCase>
-<incorrect>[a-[a]-[a]]</incorrect>
-</testCase>
-<testCase>
-<incorrect>\pL</incorrect>
-</testCase>
-<testCase>
-<correct>\p{IsHighSurrogates}\p{IsLowSurrogates}</correct>
-<invalid>𐌰</invalid>
-</testCase>
-<testCase>
-<correct>a[𐌰-[𐌰]]*b</correct>
-<valid>ab</valid>
-<invalid>a𐌰b</invalid>
-</testCase>
-</testSuite>
+<testSuite> +<testCase> +<correct>xyzzy</correct> +<valid>xyzzy</valid> +<invalid>xyzz</invalid> +<invalid>xyzzyy</invalid> +<invalid>xxyzzy</invalid> +<invalid>XYZZY</invalid> +<invalid> xyzzy</invalid> +</testCase> +<testCase> +<correct>\i</correct> +<valid>j</valid> +<valid>℮</valid> +</testCase> +<testCase> +<incorrect>a??</incorrect> +</testCase> +<testCase> +<correct>\P{IsGothic}</correct> +<invalid>𐌰</invalid> +<invalid>𐌿</invalid> +<invalid>𐍏</invalid> +<valid>X</valid> +<valid>𐌯</valid> +<valid>𠌰</valid> +<valid>𰌰</valid> +<valid>𐍐</valid> +</testCase> +<testCase> +<correct>\p{IsGothic}</correct> +<valid>𐌰</valid> +<valid>𐌿</valid> +<valid>𐍏</valid> +<invalid>X</invalid> +<invalid>𐌯</invalid> +<invalid>𠌰</invalid> +<invalid>𰌰</invalid> +<invalid>𐍐</invalid> +</testCase> +<testCase> +<correct>$</correct> +<valid>$</valid> +<invalid/> +</testCase> +<testCase> +<correct>a|b</correct> +</testCase> +<testCase> +<correct>[x-y]</correct> +</testCase> +<testCase> +<correct>[\p{Nd}-[a-z]]</correct> +</testCase> +<testCase> +<correct>[\p{Nd}-[\p{IsThai}]]</correct> +</testCase> +<testCase> +<correct>\p{IsThai}</correct> +</testCase> +<testCase> +<correct>\i\c*</correct> +</testCase> +<testCase> +<correct>~!@#$%\^&\*\(\)_\+`\-=\{\}\[\]\|\\:;"',\.<>/\?</correct> +<valid>~!@#$%^&*()_+`-={}[]|\:;"',.<>/?</valid> +</testCase> +<testCase> +<correct>[f&&g]</correct> +<valid>f</valid> +<valid>&</valid> +<valid>g</valid> +</testCase> +<testCase> +<correct>^</correct> +<valid>^</valid> +</testCase> +<testCase> +<incorrect>\</incorrect> +</testCase> +<testCase> +<incorrect>?</incorrect> +</testCase> +<testCase> +<incorrect>*</incorrect> +</testCase> +<testCase> +<incorrect>+</incorrect> +</testCase> +<testCase> +<incorrect>)</incorrect> +</testCase> +<testCase> +<incorrect>(</incorrect> +</testCase> +<testCase> +<incorrect>[</incorrect> +</testCase> +<testCase> +<incorrect>]</incorrect> +</testCase> +<testCase> +<correct>-</correct> +<valid>-</valid> +</testCase> +<testCase> +<correct>|</correct> +<valid/> +<invalid>|</invalid> +</testCase> +<testCase> +<correct>.</correct> +<valid>.</valid> +<invalid/> +<invalid> +</invalid> +<invalid>
</invalid> +<invalid>
</invalid> +<invalid>..</invalid> +<valid>𐌰</valid> +</testCase> +<testCase> +<incorrect>[^]</incorrect> +</testCase> +<testCase> +<incorrect>[]</incorrect> +</testCase> +<testCase> +<incorrect>[]]</incorrect> +</testCase> +<testCase> +<incorrect>[[]</incorrect> +</testCase> +<testCase> +<incorrect>[\]</incorrect> +</testCase> +<testCase> +<correct>[^^]</correct> +<valid>x</valid> +<invalid>^</invalid> +</testCase> +<testCase> +<correct>[?+*(){}|.]</correct> +<valid>?</valid> +<valid>+</valid> +<valid>*</valid> +<valid>(</valid> +<valid>)</valid> +<valid>{</valid> +<valid>}</valid> +<valid>|</valid> +<valid>.</valid> +<invalid>x</invalid> +</testCase> +<testCase> +<correct/> +<valid/> +<invalid>x</invalid> +</testCase> +<testCase> +<incorrect>x{2,1}</incorrect> +</testCase> +<testCase> +<correct>x{1,1}</correct> +<valid>x</valid> +</testCase> +<testCase> +<incorrect>x{1, 2}</incorrect> +</testCase> +<testCase> +<incorrect>x{ 2}</incorrect> +</testCase> +<testCase> +<incorrect>x{2 }</incorrect> +</testCase> +<testCase> +<incorrect>x{-0,1}</incorrect> +</testCase> +<testCase> +<incorrect>x{+2}</incorrect> +</testCase> +<testCase> +<correct>x{2147483648}</correct> +<invalid>x</invalid> +</testCase> +<testCase> +<incorrect>x{2147483649,2147483648}</incorrect> +</testCase> +<testCase> +<correct>x{0,2147483648}</correct> +<valid>x</valid> +</testCase> +<testCase> +<correct>[a-z-[c-y]]</correct> +<valid>a</valid> +<valid>b</valid> +<valid>z</valid> +<invalid>c</invalid> +<invalid>y</invalid> +<invalid>d</invalid> +</testCase> +<testCase> +<correct>[abc-[a-a]]</correct> +<valid>b</valid> +<valid>c</valid> +<invalid>a</invalid> +<invalid>d</invalid> +</testCase> +<testCase> +<incorrect>[a-[a]-[a]]</incorrect> +</testCase> +<testCase> +<incorrect>\pL</incorrect> +</testCase> +<testCase> +<correct>\p{IsHighSurrogates}\p{IsLowSurrogates}</correct> +<invalid>𐌰</invalid> +</testCase> +<testCase> +<correct>a[𐌰-[𐌰]]*b</correct> +<valid>ab</valid> +<invalid>a𐌰b</invalid> +</testCase> +</testSuite> |