diff options
| author | Mike Hommey <glandium@debian.org> | 2005-09-05 17:10:35 +0000 |
|---|---|---|
| committer | Mike Hommey <glandium@debian.org> | 2005-09-05 17:10:35 +0000 |
| commit | a464d9993e2acd5b8e1089b218ba74c6fcf215c5 (patch) | |
| tree | 72fe00eb59147367a1d660b90d08172357e0dffc /test/expr/base | |
| parent | 112cb5bb5475afec1c1cbf1d6728ce4880d0fee8 (diff) | |
| download | libxml2-upstream/2.6.21.tar.gz | |
Load /usr/tmp/tmp.CMoFff/libxml2-2.6.21 intoupstream/2.6.21
packages/libxml2/branches/upstream/current.
Diffstat (limited to 'test/expr/base')
| -rw-r--r-- | test/expr/base | 86 |
1 files changed, 86 insertions, 0 deletions
diff --git a/test/expr/base b/test/expr/base new file mode 100644 index 0000000..7ba11e2 --- /dev/null +++ b/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) |
