mirror of https://github.com/citusdata/citus.git
Merge pull request #4926 from citusdata/diff-filter-full-search
Fix diff-filter to search the whole line for matchespull/4922/head^2
commit
8cd9b8d8af
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue