Update of /cvsroot/monetdb/MonetDB4/src/modules/plain
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv4226/src/modules/plain

Modified Files:
        pcre.mx 
Log Message:
propagated changes of Friday Feb 22 2008 - Friday Mar 07 2008
from the MonetDB_4-22 branch to the development trunk

===================================================================
2008/03/06 - nielsnes: src/modules/plain/pcre.mx,1.7.2.2
fixed bug [ 1907051 ] like '%????%'
need to escape the ? in patterns
===================================================================


Index: pcre.mx
===================================================================
RCS file: /cvsroot/monetdb/MonetDB4/src/modules/plain/pcre.mx,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- pcre.mx     8 Feb 2008 22:36:06 -0000       1.8
+++ pcre.mx     7 Mar 2008 09:10:44 -0000       1.9
@@ -772,7 +772,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

Reply via email to