Merge pull request #4926 from citusdata/diff-filter-full-search

Fix diff-filter to search the whole line for matches
pull/4922/head^2
Philip Dubé 2021-04-23 13:08:36 +00:00 committed by GitHub
commit 8cd9b8d8af
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@ def main():
regexpipeline.append(re.compile(rule.group('rule')))
def sed(line):
if any(regex.match(line) for regex in regexpipeline):
if any(regex.search(line) for regex in regexpipeline):
return None
return line