using System.Text.RegularExpressions; namespace NzbDrone.Core.Parser; // These are functions shared between different parser functions // they are not intended to be used outside of them parsing. internal static class ParserCommon { internal static readonly RegexReplace[] PreSubstitutionRegex = System.Array.Empty(); // Valid TLDs http://data.iana.org/TLD/tlds-alpha-by-domain.txt internal static readonly RegexReplace WebsitePrefixRegex = new (@"^(?:(?:\[|\()\s*)?(?:www\.)?[-a-z0-9-]{1,256}\.(?