summaryrefslogtreecommitdiffstats
path: root/libxml2/test/expr
diff options
context:
space:
mode:
authorWilliam Joye <wjoye@cfa.harvard.edu>2016-10-19 18:28:08 (GMT)
committerWilliam Joye <wjoye@cfa.harvard.edu>2016-10-19 18:28:08 (GMT)
commit7f402e480a04b974617c04142993d3919457d342 (patch)
treea39cf901d49b9767df3fe076ebf8a06c92277995 /libxml2/test/expr
parent818fd731f62993dc8aa5d07b82e1d1b2c04aae7d (diff)
parent6c75f0dc676d73c4cbcdca5a9cf05c6797a2ac0b (diff)
downloadblt-7f402e480a04b974617c04142993d3919457d342.zip
blt-7f402e480a04b974617c04142993d3919457d342.tar.gz
blt-7f402e480a04b974617c04142993d3919457d342.tar.bz2
Merge commit '6c75f0dc676d73c4cbcdca5a9cf05c6797a2ac0b' as 'libxml2'
Diffstat (limited to 'libxml2/test/expr')
-rw-r--r--libxml2/test/expr/base86
1 files changed, 86 insertions, 0 deletions
diff --git a/libxml2/test/expr/base b/libxml2/test/expr/base
new file mode 100644
index 0000000..7ba11e2
--- /dev/null
+++ b/libxml2/test/expr/base
@@ -0,0 +1,86 @@
+=>a
+1 a
+1 a | a
+0 b
+=>a|b
+1 a
+1 b
+1 a | b
+0 a{0}
+0 b{0}
+=>a | b | a
+1 a
+1 b
+1 a | b
+1 b | a
+1 a | b | b
+1 a | b | a
+1 b | a | b
+=>a,a
+1 a,a
+0 a
+0 a,a,a
+=>a{0,3}
+1 a{3}
+1 a
+1 a,a,a
+1 a{1,3}
+=>(a|b){0,4}
+1 a
+1 b
+1 a,b
+1 a,b,a,b
+0 b,a,b,a,b
+1 b,a{1,3}
+1 a{1,3},b
+0 a{1,3},b,a
+0 a{1,4},b
+0 a{0,5}
+1 (b|a){0,4}
+0 (b|a){0,4},a
+1 (a,b){0,2}
+1 (a,b){0,1},b
+=> a*
+1 a
+1 a?
+1 a+
+1 a*
+1 a{0}
+=> a+
+1 a
+0 a?
+1 a+
+0 a*
+1 a?,a
+1 a,a*
+1 a*,a
+1 a?,a*,a
+1 a*,a?,a
+=>(a|b)*
+1 a
+1 b
+1 a,b
+1 a,b,a,b
+1 (b|a){0,4}
+1 (b|a){0,4},a
+1 a*
+1 b*
+1 (a|b)*
+1 a{1,3}
+1 b,a{1,3}
+1 a{1,3},b
+1 a*,(a|b)*
+1 a*,b{2,5}
+1 a*,(a|b)*,b{2,5}
+=>(a|b)+,(c|d)
+1 a+,c
+0 a*,c
+1 a,c
+1 a,b*,a*,c
+# more complex
+=>(a|b),(a|c){0,100}
+1 a{0,100},(a|c)
+0 a{0,101},(a|c)
+# the example from cmsmcq at extreme markup 05
+=>(a, ((b, c, d){0,5}, e{0,1}){0,4}, f)
+1 (a, b, (c, d, b){2,3}, c, d, e, f)