Skip to content

Commit

Permalink
Fix ft filter
Browse files Browse the repository at this point in the history
  • Loading branch information
Marekkon5 committed Sep 6, 2023
1 parent ff3dc01 commit da63231
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/onetagger-tagger/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -875,7 +875,7 @@ impl MatchingUtils {

/// Step 5: Remove feat/ft
fn clean_title_step5(input: &str) -> String {
let re = Regex::new(r"(\(|\[)?(feat|ft)\.? .+?(\)|\]|\(|$)").unwrap();
let re = Regex::new(r" (\(|\[)?(feat|ft)\.? .+?(\)|\]|\(|$)").unwrap();
re.replace(input, "").into_owned()
}

Expand Down

0 comments on commit da63231

Please sign in to comment.