def __init__(self, negate=False, flags=0):
self._categories = set()
self._whitelist_chars = set()
self._blacklist_chars = set()
self._negate = negate
self._ignorecase = flags & re.IGNORECASE
self._unicode = (not flags & re.ASCII) \
if six.PY3 else bool(flags & re.UNICODE)
评论列表
文章目录