Commit 65b0739b by devttys0

Filter expressions are now applied via re.search instead of re.match

parent 74d74c5b
......@@ -405,7 +405,7 @@ class Magic(object):
text = text.lower()
for include in self.includes:
if include.match(text):
if include.search(text):
filtered = False
break
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment