mirror of
https://github.com/Readarr/Readarr
synced 2025-12-20 15:23:55 +01:00
Remove website prefixes with dashes in URL
Signed-off-by: Robin Dadswell <robin@dadswell.email>
This commit is contained in:
parent
1e7efbe3d6
commit
d33d27a55f
1 changed files with 1 additions and 1 deletions
|
|
@ -168,7 +168,7 @@ public static class Parser
|
|||
string.Empty,
|
||||
RegexOptions.IgnoreCase | RegexOptions.Compiled);
|
||||
|
||||
private static readonly RegexReplace WebsitePrefixRegex = new RegexReplace(@"^\[\s*[a-z]+(\.[a-z]+)+\s*\][- ]*|^www\.[a-z]+\.(?:com|net)[ -]*",
|
||||
private static readonly RegexReplace WebsitePrefixRegex = new RegexReplace(@"^\[\s*[-a-z]+(\.[a-z]+)+\s*\][- ]*|^www\.[a-z]+\.(?:com|net)[ -]*",
|
||||
string.Empty,
|
||||
RegexOptions.IgnoreCase | RegexOptions.Compiled);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue