diff options
author | Daniel Veillard <veillard@src.gnome.org> | 2008-02-08 10:37:18 +0000 |
---|---|---|
committer | Daniel Veillard <veillard@src.gnome.org> | 2008-02-08 10:37:18 +0000 |
commit | 041b687e93cc4d5806b902ed3b445a47669dc2ad (patch) | |
tree | b4943b1acc9096e063f92c27563ba4fc7a9e41d6 /xmlregexp.c | |
parent | b242b08831637432984439729a170153bdc3ed8d (diff) | |
download | android_external_libxml2-041b687e93cc4d5806b902ed3b445a47669dc2ad.tar.gz android_external_libxml2-041b687e93cc4d5806b902ed3b445a47669dc2ad.tar.bz2 android_external_libxml2-041b687e93cc4d5806b902ed3b445a47669dc2ad.zip |
apply patch from Andrew Tosh to fix behaviour when '.' is used in a
* xmlregexp.c: apply patch from Andrew Tosh to fix behaviour
when '.' is used in a posCharGroup
* test/schemas/poschargrp0_0.* result/schemas/poschargrp0_0_0*:
added the test to the regression suite
Daniel
svn path=/trunk/; revision=3687
Diffstat (limited to 'xmlregexp.c')
-rw-r--r-- | xmlregexp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmlregexp.c b/xmlregexp.c index a3e16c57..52e484cb 100644 --- a/xmlregexp.c +++ b/xmlregexp.c @@ -5052,7 +5052,7 @@ xmlFAParseCharRange(xmlRegParserCtxtPtr ctxt) { static void xmlFAParsePosCharGroup(xmlRegParserCtxtPtr ctxt) { do { - if ((CUR == '\\') || (CUR == '.')) { + if (CUR == '\\') { xmlFAParseCharClassEsc(ctxt); } else { xmlFAParseCharRange(ctxt); |