Update of /cvsroot/monetdb/MonetDB5/src/modules/mal
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv30785/src/modules/mal
Modified Files:
Tag: MonetDB_5-4
pcre.mx
Log Message:
fixed bug [ 1907051 ] like '%????%'
need to escape the ? in patterns
Index: pcre.mx
===================================================================
RCS file: /cvsroot/monetdb/MonetDB5/src/modules/mal/pcre.mx,v
retrieving revision 1.53
retrieving revision 1.53.2.1
diff -u -d -r1.53 -r1.53.2.1
--- pcre.mx 11 Jan 2008 10:41:37 -0000 1.53
+++ pcre.mx 6 Mar 2008 21:26:26 -0000 1.53.2.1
@@ -811,7 +811,7 @@
}
/* not optimal but functional */
hasWildcard = 1;
- } else if (strchr( ".+*()[]\\", c) != NULL) {
+ } else if (strchr( ".?+*()[]\\", c) != NULL) {
*ppat++ = '\\';
*ppat++ = c;
/* not optimal but functional */
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Monetdb-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-checkins