1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2024-10-27 04:55:04 +03:00
libxml2/result/pattern/conj
Daniel Veillard 2b2e02d6bb fixed implementation for | added a specific regression test Daniel
* pattern.c xmllint.c: fixed implementation for |
* test/pattern/conj.* result/pattern/conj: added a specific regression
  test
Daniel
2005-02-05 23:20:22 +00:00

48 lines
1.6 KiB
Plaintext

Node /a matches pattern a|b
Node /a/b matches pattern a|b
Node /a/b/c[1]/b matches pattern a|b
Node /a/b/c[2]/b matches pattern a|b
Node /a/b/c[2]/c/b matches pattern a|b
Node /a/c/b matches pattern a|b
Node /a matches pattern a|c
Node /a/b/c[1] matches pattern a|c
Node /a/b/c[2] matches pattern a|c
Node /a/b/c[2]/c matches pattern a|c
Node /a/c matches pattern a|c
Node /a/b matches pattern b|c
Node /a/b/c[1] matches pattern b|c
Node /a/b/c[1]/b matches pattern b|c
Node /a/b/c[2] matches pattern b|c
Node /a/b/c[2]/b matches pattern b|c
Node /a/b/c[2]/c matches pattern b|c
Node /a/b/c[2]/c/b matches pattern b|c
Node /a/c matches pattern b|c
Node /a/c/b matches pattern b|c
Node /a matches pattern a|b|c
Node /a/b matches pattern a|b|c
Node /a/b/c[1] matches pattern a|b|c
Node /a/b/c[1]/b matches pattern a|b|c
Node /a/b/c[2] matches pattern a|b|c
Node /a/b/c[2]/b matches pattern a|b|c
Node /a/b/c[2]/c matches pattern a|b|c
Node /a/b/c[2]/c/b matches pattern a|b|c
Node /a/c matches pattern a|b|c
Node /a/c/b matches pattern a|b|c
Node /a matches pattern /a|b
Node /a/b matches pattern /a|b
Node /a/b/c[1]/b matches pattern /a|b
Node /a/b/c[2]/b matches pattern /a|b
Node /a/b/c[2]/c/b matches pattern /a|b
Node /a/c/b matches pattern /a|b
Node /a matches pattern b|/a
Node /a/b matches pattern b|/a
Node /a/b/c[1]/b matches pattern b|/a
Node /a/b/c[2]/b matches pattern b|/a
Node /a/b/c[2]/c/b matches pattern b|/a
Node /a/c/b matches pattern b|/a
Node /a/b/c[1] matches pattern a//c|b//c
Node /a/b/c[2] matches pattern a//c|b//c
Node /a/b/c[2]/c matches pattern a//c|b//c
Node /a/c matches pattern a//c|b//c
Node /a matches pattern d|e|f|g|h|a