[libxml2]Add libxml2 library

This commit is contained in:
zhoujiale
2026-07-26 16:57:28 +08:00
committed by zhoujiale
parent 0a44ec8a06
commit e841ac915d
3790 changed files with 668244 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
Regexp: a|b(d|e(g|h|i)|f)|c
a: Ok
c: Ok
bd: Ok
bf: Ok
beg: Ok
beh: Ok
bei: Ok
b: Fail
be: Fail
bi: Fail
f: Fail
ab: Fail
ac: Fail
+20
View File
@@ -0,0 +1,20 @@
Regexp: (((C|c)(([\s]*\-?[0-9]+(\.[0-9]+)?((e|E)\-?[0-9]+)?){3})+[\s]*))+
C 433: Ok
C 433 12: Ok
C 433 123: Ok
C 433 123 456: Ok
C 724.64,433.12 718.08,433.12 711.52,433.12 724.64,433.12 718.08,433.12 711.52,433.12 724.64,433.12 718.08,433.12 711.52,433.12 724.64,433.12 718.08,433.12 711.52,433.12 724.64,433.12 718.08,433.12 711.52,433.12 724.64,433.12 718.08,433.12 711.52,433.12 724.64,433.12 718.08,433.12 711.52,433.12 724.64,433.12 718.08,433.12 711.52,433.12 724.64,433.12 718.08,433.12 711.52,433.12 724.64,433.12 718.08,433.12 711.52,433.12: Fail
Regexp: (((C|c)(([\s]+\-?[0-9]+(\.[0-9]+)?((e|E)\-?[0-9]+)?){3})+[\s]*))+
C 433: Fail
C 433 12: Fail
C 433 123: Fail
C 433 123 456: Ok
C 724.64,433.12 718.08,433.12 711.52,433.12 724.64,433.12 718.08,433.12 711.52,433.12 724.64,433.12 718.08,433.12 711.52,433.12 724.64,433.12 718.08,433.12 711.52,433.12 724.64,433.12 718.08,433.12 711.52,433.12 724.64,433.12 718.08,433.12 711.52,433.12 724.64,433.12 718.08,433.12 711.52,433.12 724.64,433.12 718.08,433.12 711.52,433.12 724.64,433.12 718.08,433.12 711.52,433.12 724.64,433.12 718.08,433.12 711.52,433.12: Fail
Regexp: (((C|c)(([\s]+\-?[0-9]+(\.[0-9]+)?[\s]*,[\s]*\-?[0-9]+(\.[0-9]+)?){3})+[\s]*))+
C 433: Fail
C 433 12: Fail
C 433 123: Fail
C 433 123 456: Fail
C 724.64,433.12 718.08,433.12 711.52,433.12 724.64,433.12 718.08,433.12 711.52,433.12 724.64,433.12 718.08,433.12 711.52,433.12 724.64,433.12718.08,433.12 711.52,433.12 724.64,433.12 718.08,433.12 711.52,433.12 724.64,433.12 718.08,433.12 711.52,433.12 724.64,433.12 718.08,433.12 711.52,433.12 724.64,433.12 718.08,433.12 711.52,433.12 724.64,433.12 718.08,433.12 711.52,433.12 724.64,433.12 718.08,433.12 711.52,433.12: Fail
Regexp: (((M|m)([\s]+\-?[0-9]+(\.[0-9]+)?((e|E)\-?[0-9]+)?[\s]*,[\s]*\-?[0-9]+(\.[0-9]+)?((e|E)\-?[0-9]+)?)[\s]*)|((L|l)([\s]+\-?[0-9]+(\.[0-9]+)?((e|E)\-?[0-9]+)?[\s]*,[\s]*\-?[0-9]+(\.[0-9]+)?((e|E)\-?[0-9]+)?)+[\s]*)|((H|h)([\s]+\-?[0-9]+(\.[0-9]+)?((e|E)\-?[0-9]+)?)+[\s]*)|((V|v)([\s]+\-?[0-9]+(\.[0-9]+)?((e|E)\-?[0-9]+)?)+[\s]*)|((C|c)(([\s]+\-?[0-9]+(\.[0-9]+)?((e|E)\-?[0-9]+)?[\s]*,[\s]*\-?[0-9]+(\.[0-9]+)?((e|E)\-?[0-9]+)?){3})+[\s]*)|((Q|q)(([\s]+\-?[0-9]+(\.[0-9]+)?((e|E)\-?[0-9]+)?[\s]*,[\s]*\-?[0-9]+(\.[0-9]+)?((e|E)\-?[0-9]+)?){2})+[\s]*)|((S|s)(([\s]+\-?[0-9]+(\.[0-9]+)?((e|E)\-?[0-9]+)?[\s]*,[\s]*\-?[0-9]+(\.[0-9]+)?((e|E)\-?[0-9]+)?){2})+[\s]*)|((A|a)([\s]+\-?[0-9]+(\.[0-9]+)?((e|E)\-?[0-9]+)?[\s]*,[\s]*\-?[0-9]+(\.[0-9]+)?((e|E)\-?[0-9]+)?[\s]*\-?[0-9]+(\.[0-9]+)?((e|E)\-?[0-9]+)?[\s]+[0-1][\s]+[0-1][\s]+\-?[0-9]+(\.[0-9]+)?((e|E)\-?[0-9]+)?[\s]*,[\s]*\-?[0-9]+(\.[0-9]+)?((e|E)\-?[0-9]+)?)+[\s]*)|((Z|z)[\s]*))*
M 724.64,433.12 718.08,433.12 711.52,433.12 724.64,433.12 718.08,433.12 711.52,433.12 724.64,433.12 718.08,433.12 711.52,433.12 724.64,433.12 718.08,433.12 711.52,433.12 724.64,433.12 718.08,433.12 711.52,433.12 724.64,433.12 718.08,433.12 711.52,433.12 724.64,433.12 718.08,433.12 711.52,433.12 724.64,433.12 718.08,433.12 711.52,433.12 724.64,433.12 718.08,433.12 711.52,433.12 724.64,433.12 718.08,433.12 711.52,433.12: Fail
+10
View File
@@ -0,0 +1,10 @@
Regexp: (\+|-)(0[0-9]|1[0-1])
+01: Ok
-01: Ok
+10: Ok
-10: Ok
Regexp: [+-](0[0-9]|1[0-1])
+01: Ok
-01: Ok
+10: Ok
-10: Ok
+9
View File
@@ -0,0 +1,9 @@
Regexp: S(a|)E
SE: Ok
SxE: Fail
Regexp: S(|b)E
SE: Ok
SxE: Fail
Regexp: S(a||b)E
SE: Ok
SxE: Fail
+2
View File
@@ -0,0 +1,2 @@
Regexp: [;^((-
failed to compile
+2
View File
@@ -0,0 +1,2 @@
regexp error : failed to compile: Expecting the end of a char range
regexp error : failed to compile: xmlFAParseCharClass: ']' expected
+4
View File
@@ -0,0 +1,4 @@
Regexp: .{2147483647}
input: Fail
Regexp: .{2147483648}
failed to compile
+1
View File
@@ -0,0 +1 @@
regexp error : failed to compile: Improper quantifier
+12
View File
@@ -0,0 +1,12 @@
Regexp: ((a|b|c)def)
adef: Ok
bdef: Ok
adefg: Fail
aaef: Fail
Regexp: ((a|b|c|d|e|f)?(g|h|i)+(k|l)*)
g: Ok
gi: Ok
fil: Ok
gikl: Ok
cghhhiill: Ok
ak: Fail
+12
View File
@@ -0,0 +1,12 @@
Regexp: ((a|b|\p{Nd}){1,2}|aaa|bbbb){1,2}
bab: Ok
aaca: Fail
aaabbbb: Ok
a0b: Ok
aa0aaa: Fail
b0aaa: Ok
Regexp: (\d{1,3}\.){3}\d{1,3}
1.2.3.4: Ok
1.22.333.44: Ok
1.2.3: Fail
1..2.3: Fail
+4
View File
@@ -0,0 +1,4 @@
Regexp: (a{1,2}|ab){2}
abab: Ok
Regexp: ((1?[0-9]{1,2}|2[0-4][0-9]|25[0-5])\.){3}(1?[0-9]{1,2}|2[0-4][0-9]|25[0-5])
192.168.254.0: Ok
+3
View File
@@ -0,0 +1,3 @@
Regexp: [A-Za-[G]]
G: Fail
a: Ok
+2
View File
@@ -0,0 +1,2 @@
Regexp: ( (a|bc{0,2})){0,2} d
b d: Ok
+6
View File
@@ -0,0 +1,6 @@
Regexp: [\i-[:]][\c-[:]]*
a: Ok
abc: Ok
abc1d: Ok
1ac: Fail
a1b:c: Fail
+15
View File
@@ -0,0 +1,15 @@
Regexp: a{2,3}
a: Fail
aa: Ok
aaa: Ok
aaaa: Fail
Regexp: ba{2,3}c
bac: Fail
baac: Ok
baaac: Ok
baaaac: Fail
Regexp: a(b|c){2,3}d
abcd: Ok
acccd: Ok
abd: Fail
accccd: Fail
+14
View File
@@ -0,0 +1,14 @@
Regexp: (a|b{0,3}){0,1}
a: Ok
aa: Fail
b: Ok
bb: Ok
bbb: Ok
bbbb: Fail
ab: Fail
ba: Fail
Regexp: ([0-9]{0,3}|([0-9]{0}|[0-9]{0,3})){0,3}
0: Ok
00: Ok
123: Ok
abc: Fail
+32
View File
@@ -0,0 +1,32 @@
Regexp: (\.//)?(((child::)?((\i\c*:)?(\i\c*|\*)))|\.)(/(((child::)?((\i\c*:)?(\i\c*|\*)))|\.))*(\|(\.//)?(((child::)?((\i\c*:)?(\i\c*|\*)))|\.)(/(((child::)?((\i\c*:)?(\i\c*|\*)))|\.))*)*
a: Ok
a12/b312/b312/b312/b312/b312/b312/b312/b312/b312/b312/b312/b3: Ok
*: Ok
a|b: Ok
.//a:b: Ok
a/b/c: Ok
a/*/b: Ok
a:*/b:*/c:*: Ok
child::a/child::b:*: Ok
child::a/child::b:*|a/*/b|.//a:b: Ok
1: Fail
1ab: Fail
a:1: Ok
@a: Fail
ancestor::a: Ok
Regexp: (\.//)?(((child::)?(([\i-[:]][\c-[:]]*:)?([\i-[:]][\c-[:]]*|\*)))|\.)(/(((child::)?(([\i-[:]][\c-[:]]*:)?([\i-[:]][\c-[:]]*|\*)))|\.))*(\|(\.//)?(((child::)?(([\i-[:]][\c-[:]]*:)?([\i-[:]][\c-[:]]*|\*)))|\.)(/(((child::)?(([\i-[:]][\c-[:]]*:)?([\i-[:]][\c-[:]]*|\*)))|\.))*)*
a: Ok
a12/b312/b312/b312/b312/b312/b312/b312/b312/b312/b312/b312/b3: Ok
*: Ok
a|b: Ok
.//a:b: Ok
a/b/c: Ok
a/*/b: Ok
a:*/b:*/c:*: Ok
child::a/child::b:*: Ok
child::a/child::b:*|a/*/b|.//a:b: Ok
1: Fail
1ab: Fail
a:1: Fail
@a: Fail
ancestor::a: Fail