Minor update for #4353

This commit is contained in:
Miroslav Stampar
2020-09-23 15:29:28 +02:00
parent 7460b87f1d
commit 60f4520020
2 changed files with 3 additions and 1 deletions

View File

@@ -1837,6 +1837,8 @@ def _cleanupOptions():
if not regex:
conf.exclude = re.sub(r"\s*,\s*", ',', conf.exclude)
conf.exclude = r"\A%s\Z" % '|'.join(re.escape(_) for _ in conf.exclude.split(','))
else:
conf.exclude = re.sub(r"(\w+)\$", r"\g<1>\$", conf.exclude)
if conf.binaryFields:
conf.binaryFields = conf.binaryFields.replace(" ", "")