mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-24 22:35:39 -04:00
Fixed: Allow text in front of cleaned Album/Track tag (#498)
* Fixed: Allow text in front of cleaned tag * fixup! Add another test case that shouldnt be matched.
This commit is contained in:
@@ -207,7 +207,7 @@ namespace NzbDrone.Core.Parser
|
||||
|
||||
private static readonly Regex[] CommonTagRegex = new Regex[] {
|
||||
new Regex(@"(\[|\()*\b((featuring|feat.|feat|ft|ft.)\s{1}){1}\s*.*(\]|\))*", RegexOptions.IgnoreCase | RegexOptions.Compiled),
|
||||
new Regex(@"(\[|\(){1}(version|limited|deluxe|single|clean|album|special|bonus|promo)+\s*.*(\]|\)){1}", RegexOptions.IgnoreCase | RegexOptions.Compiled),
|
||||
new Regex(@"(?:\(|\[)(?:[^\(\[]*)(?:version|limited|deluxe|single|clean|album|special|bonus|promo)(?:[^\)\]]*)(?:\)|\])", RegexOptions.IgnoreCase | RegexOptions.Compiled)
|
||||
};
|
||||
|
||||
public static ParsedTrackInfo ParseMusicPath(string path)
|
||||
|
||||
Reference in New Issue
Block a user