Expand description
Source-detection regex constants ported from QualityParser.cs.
These mirror the C# private static readonly Regex declarations at lines
17 to 66 of QualityParser.cs. The Rust regex crate is RE2-based and
does not support backreferences or lookarounds; where a C# pattern uses
either, the constant here is a relaxed superset and a sibling helper
function applies the missing constraint in code post-match. Each such
case is documented inline above the affected Lazy<Regex> declaration.
Statics§
- ALTERNATIVE_
RESOLUTION_ REGEX - Alternative resolution detector for releases that omit a numeric
resolution token. Ported from
QualityParser.cs:53-54. - ANIME_
BLURAY_ REGEX - Anime-Bluray detector. Ported from
QualityParser.cs:61. - ANIME_
WEBDL_ REGEX - Anime-WEB-DL detector. Ported from
QualityParser.cs:62. - CODEC_
REGEX - Codec detector. Ported from
QualityParser.cs:56-57. - HIGH_
DEF_ PDTV_ REGEX hr-ws(high-def PDTV) detector. Ported fromQualityParser.cs:64. Case-insensitive.- MPEG2_
REGEX MPEG2/MPEG-2/MPEG_2/MPEG.2/MPEG 2detector. Ported fromQualityParser.cs:35. Note: the C# pattern is case-sensitive (noRegexOptions.IgnoreCase), so we omit the(?i)flag here.- OTHER_
SOURCE_ REGEX HD-TV/SD-TValternative-form detector. Ported fromQualityParser.cs:59. Named groups:hdtv,sdtv. Case-insensitive.- PROPER_
REGEX - PROPER detector. Ported from
QualityParser.cs:37-38. Named group:proper. Case-insensitive. - RAW_
HD_ REGEX RawHD/Raw-HD/Raw_HD/Raw.HD/Raw HDdetector. Ported fromQualityParser.cs:32-33.- REAL_
REGEX - REAL detector. Ported from
QualityParser.cs:46-47. - REMUX_
REGEX - Remux detector. Ported from
QualityParser.cs:66. - REPACK_
REGEX - REPACK / RERIP detector. Ported from
QualityParser.cs:40-41. Matchesrepack,repack1,repack2, …,rerip,rerip1,rerip2, etc. Named group:repack. Case-insensitive. - RESOLUTION_
REGEX - Resolution detector. Ported from
QualityParser.cs:49-50. - SOURCE_
REGEX - Source-class detector. Ported from
QualityParser.cs:17-30. - VERSION_
REGEX - Explicit version-marker detector. Ported from
QualityParser.cs:43-44.