Merge pull request #18 from bateast/master

Add matching content in get_line pattern
This commit is contained in:
Rupus Reinefjord 2022-11-15 20:26:49 +01:00 committed by GitHub
commit bc06ec513d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -61,7 +61,7 @@ def set_data(entry, data, exclude, get_fields, get_lines):
matching_indices.add(i)
break
for name, matches in matching_lines.items():
fields[name] = '\n'.join(matching_lines)
fields[name] = '\n'.join(matches)
final_tail = []
for i, line in enumerate(filtered_tail):