xfree(op)
return l, r
-def match(char *p, char *s):
- return _tobool(str_match(p, s))
+def match(char *p, char *s, prefixp = False):
+ cdef unsigned f
+ if prefixp:
+ f = f | STRF_PREFIX
+ return _tobool(str_matchx(p, s, f))
def sanitize(char *p, int n = -1):
cdef char *buf