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 9741d3d commit 6920d7d
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 @@ -758,7 +758,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 6920d7d

Please sign in to comment.