Changeset: b956489afbd0 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=b956489afbd0
Modified Files:
        monetdb5/modules/mal/pcre.c
Branch: default
Log Message:

Fix sense of caseless matching.


diffs (12 lines):

diff --git a/monetdb5/modules/mal/pcre.c b/monetdb5/modules/mal/pcre.c
--- a/monetdb5/modules/mal/pcre.c
+++ b/monetdb5/modules/mal/pcre.c
@@ -1250,7 +1250,7 @@ BATPCRElike3(bat *ret, int *bid, str *pa
                        int pos;
                        pcre *re;
 
-                       if ( !*isens)
+                       if (*isens)
                                options |= PCRE_CASELESS;
                        if ((re = pcre_compile(ppat, options, &err_p, &errpos, 
NULL)) == NULL) {
                                BBPreleaseref(strs->batCacheid);
_______________________________________________
Checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list

Reply via email to