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:
parent
ea6f15ab31
commit
c2088438fa
1 changed files with 1 additions and 1 deletions
|
@ -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'])
|
||||||
|
|
Loading…
Reference in a new issue