Skip to content

Commit

Permalink
Fix YouTube filter rules
Browse files Browse the repository at this point in the history
Fix a regular expression for trimming trailing chars.
  • Loading branch information
alexesprit committed May 16, 2020
1 parent 858fddd commit 493bfe5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/filter.js
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,7 @@ class MetadataFilter {
// trim starting white chars and dash
{ source: /^[/,:;~-\s"]+/, target: '' },
// trim trailing white chars and dash
{ source: /[/,:;~-\s"!]+$/, target: '' },
{ source: /[/,:;~-\s"]+$/, target: '' },
];
}

Expand Down

0 comments on commit 493bfe5

Please sign in to comment.