summaryrefslogtreecommitdiff
path: root/test/regexp
diff options
context:
space:
mode:
authorWilliam M. Brack <wbrack@src.gnome.org>2007-03-21 13:16:33 +0000
committerWilliam M. Brack <wbrack@src.gnome.org>2007-03-21 13:16:33 +0000
commita9cbf28361410926c82ae47a2c9d1a22795976c1 (patch)
treebed67393b5abe5a9e58e9d883fc7245b7d3536a9 /test/regexp
parente978ae25ca37d1acba89b1e22b0948651f19f8af (diff)
downloadlibxml2-a9cbf28361410926c82ae47a2c9d1a22795976c1.tar.gz
fixed problem with 0x2d in Char Range (bug #420596) added regression test
* xmlregexp.c: fixed problem with 0x2d in Char Range (bug #420596) * test/regexp/bug420596, result/regexp/bug420596: added regression test for this svn path=/trunk/; revision=3594
Diffstat (limited to 'test/regexp')
-rw-r--r--test/regexp/bug42059610
1 files changed, 10 insertions, 0 deletions
diff --git a/test/regexp/bug420596 b/test/regexp/bug420596
new file mode 100644
index 00000000..b6f285d5
--- /dev/null
+++ b/test/regexp/bug420596
@@ -0,0 +1,10 @@
+=>(\+|-)(0[0-9]|1[0-1])
++01
+-01
++10
+-10
+=>[+-](0[0-9]|1[0-1])
++01
+-01
++10
+-10