Add matching content in get_line pattern

current implementation does not work. Typo ?
This commit is contained in:
Baptiste Fouques 2022-11-15 14:18:57 +01:00
parent 3ff16caf3e
commit 3eba7612e6

View file

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