1
0
Fork 0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2025-03-09 12:50:23 -05:00

[utils] remove non-existent regex group

Authored by: dirkf
This commit is contained in:
Simon Sawicki 2025-03-05 09:38:59 +01:00
parent ea6f15ab31
commit c2088438fa
No known key found for this signature in database

View file

@ -3247,7 +3247,7 @@ def _match_one(filter_part, dct, incomplete):
op = lambda attr, value: not unnegated_op(attr, value) op = lambda attr, value: not unnegated_op(attr, value)
else: else:
op = unnegated_op op = unnegated_op
comparison_value = m['quotedstrval'] or m['strval'] or m['intval'] comparison_value = m['quotedstrval'] or m['strval']
if m['quote']: if m['quote']:
comparison_value = comparison_value.replace(r'\{}'.format(m['quote']), m['quote']) comparison_value = comparison_value.replace(r'\{}'.format(m['quote']), m['quote'])
actual_value = dct.get(m['key']) actual_value = dct.get(m['key'])