X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/mLib-python/blobdiff_plain/d8d81d1b049836f7d4fae7b0077a8ce9e2fc43ac..a1ce1458d254a60b64add7f1ca44bd638c872097:/str.pyx diff --git a/str.pyx b/str.pyx index a87f12c..a48b5f2 100644 --- a/str.pyx +++ b/str.pyx @@ -78,6 +78,8 @@ def split(char *p, int n = -1, quotep = False): def match(char *p, char *s, prefixp = False): cdef unsigned f + + f = 0 if prefixp: f = f | STRF_PREFIX return _tobool(str_matchx(p, s, f))