X-Git-Url: https://git.distorted.org.uk/~mdw/mLib-python/blobdiff_plain/4af382cb5e0ef75e56002b07afcf5868e92393e6..23bff39b96e98bc1969d275bc7c43e1d6dd28429:/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))