keyword 修复精确匹配

This commit is contained in:
omg-xtao 2022-11-20 20:43:08 +08:00 committed by GitHub
parent 5d119f91b1
commit f11b0b9394
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -153,6 +153,7 @@ class KeywordTask:
if i.startswith("include"): if i.startswith("include"):
self.include = True self.include = True
elif i.startswith("exact"): elif i.startswith("exact"):
self.include = False
self.exact = True self.exact = True
elif i.startswith("regexp"): elif i.startswith("regexp"):
self.regexp = True self.regexp = True