fix(regex): Fixed repack pattern

This commit is contained in:
appuser 2025-09-07 21:08:47 -07:00
parent ee8edaa3b9
commit 05b4392788
4 changed files with 75 additions and 64 deletions

View File

@ -9,4 +9,16 @@ conditions:
pattern: Dolby Vision (Without Fallback)
required: true
type: release_title
tests: []
tests:
- conditionResults:
- matches: false
name: Dolby Vision (Without Fallback)
negate: false
pattern: Dolby Vision (Without Fallback)
required: true
type: release_title
expected: false
id: 1
input: Togo (2019) {tmdb-606856} [WEBDL-2160p][DV HDR10][EAC3 Atmos 5.1][HEVC]-SiC.mkv
lastRun: '2025-09-07T20:47:35.280458'
passes: true

View File

@ -10,7 +10,7 @@ tests:
- expected: false
id: 1
input: Barbie.2023.2160p.MA.WEB-DL.DDP5.1.Atmos.DV.HDR.H.265-FLUX
lastRun: '2025-09-07T20:45:02.828578'
lastRun: '2025-09-07T20:48:30.215110'
matchSpan: null
matchedContent: null
matchedGroups: []
@ -19,7 +19,7 @@ tests:
id: 2
input: "\t Barbie (2023) (2160p AMZN WEB-DL Hybrid H265 DV HDR10+ DDP Atmos 5.1\
\ English - HONE)"
lastRun: '2025-09-07T20:45:02.828578'
lastRun: '2025-09-07T20:48:30.215110'
matchSpan: null
matchedContent: null
matchedGroups: []
@ -27,7 +27,7 @@ tests:
- expected: true
id: 3
input: Barbie.2023.2160p.MA.WEB-DL.DDP5.1.Atmos.DV.H.265-FLUX
lastRun: '2025-09-07T20:45:02.828578'
lastRun: '2025-09-07T20:48:30.215110'
matchSpan:
end: 43
start: 41
@ -40,7 +40,7 @@ tests:
- expected: true
id: 4
input: Barbie.2023.2160p.MA.WEB-DL.DDP5.1.Atmos.DV.H.265-FLUX.mkv
lastRun: '2025-09-07T20:45:02.828578'
lastRun: '2025-09-07T20:48:30.215110'
matchSpan:
end: 43
start: 41
@ -54,7 +54,7 @@ tests:
id: 5
input: Killers of the Flower Moon (2023) {tmdb-466420} [iT][WEBDL-2160p][DV HDR10Plus][EAC3
Atmos 5.1][h265]-FLUX.mkv
lastRun: '2025-09-07T20:45:02.828578'
lastRun: '2025-09-07T20:48:30.215110'
matchSpan: null
matchedContent: null
matchedGroups: []
@ -62,7 +62,7 @@ tests:
- expected: false
id: 6
input: Togo (2019) {tmdb-606856} [WEBDL-2160p][DV HDR10][EAC3 Atmos 5.1][HEVC]-SiC.mkv
lastRun: '2025-09-07T20:45:02.828578'
lastRun: '2025-09-07T20:48:30.215110'
matchSpan: null
matchedContent: null
matchedGroups: []

View File

@ -1,5 +1,5 @@
name: Repack1
pattern: \b(re(pack|rip)|proper)\b
pattern: \bre(?:pack|rip)\b|(?<!\A)\bproper\b
description: 'Matches ''PROPER'' or ''REPACK'' or ''RERIP'' only when they appear
after a year (4 digits) but not before one.
@ -14,72 +14,58 @@ tests:
- expected: true
id: 1
input: The Zone of Interest 2023 PROPER 2160p UHD BluRay TrueHD 7.1 Atmos HDR x265-MainFrame
lastRun: '2025-06-17T18:42:29.675411'
lastRun: '2025-09-07T21:05:49.654245'
matchSpan:
end: 32
start: 26
matchedContent: PROPER
matchedGroups:
- PROPER
- null
matchedGroups: []
passes: true
- expected: false
id: 2
input: Proper.Pronouns.2020.720p.WEB-DL.AAC2.0.x264-ZTR.mkv
lastRun: '2025-06-17T18:42:29.675411'
matchSpan:
end: 6
start: 0
matchedContent: Proper
matchedGroups:
- Proper
- null
passes: false
lastRun: '2025-09-07T21:05:49.654245'
matchSpan: null
matchedContent: null
matchedGroups: []
passes: true
- expected: true
id: 3
input: Proper.Pronouns.2020.720p.PROPER.WEB-DL.AAC2.0.x264-ZTR.mkv
lastRun: '2025-06-17T18:42:29.675411'
lastRun: '2025-09-07T21:05:49.654245'
matchSpan:
end: 6
start: 0
matchedContent: Proper
matchedGroups:
- Proper
- null
end: 32
start: 26
matchedContent: PROPER
matchedGroups: []
passes: true
- expected: true
id: 4
input: Sonic.the.Hedgehog.3.2024.REPACK.2160p.WEB-DL.DDP5.1.Atmos.DoVi.HDR.H.265-FLUX
lastRun: '2025-06-17T18:42:29.675411'
lastRun: '2025-09-07T21:05:49.654245'
matchSpan:
end: 32
start: 26
matchedContent: REPACK
matchedGroups:
- REPACK
- PACK
matchedGroups: []
passes: true
- expected: true
id: 5
input: roommate.wanted.2015.rerip.720p.bluray.x264-rusted.mkv
lastRun: '2025-06-17T18:42:29.675411'
lastRun: '2025-09-07T21:05:49.654245'
matchSpan:
end: 26
start: 21
matchedContent: rerip
matchedGroups:
- rerip
- rip
matchedGroups: []
passes: true
- expected: true
id: 6
input: Game of Thrones S01 REPACK 2160p MAX WEB-DL TrueHD 7.1 Atmos DV HDR H.265-Kitsune
lastRun: '2025-06-17T18:42:29.675411'
lastRun: '2025-09-07T21:05:49.654245'
matchSpan:
end: 26
start: 20
matchedContent: REPACK
matchedGroups:
- REPACK
- PACK
matchedGroups: []
passes: true

View File

@ -7,7 +7,7 @@ tests:
- expected: true
id: 1
input: Zenimation.S01.Extended.Edition.720p.DSNP.WEB-DL.DDP5.1.H.264-LAZY
lastRun: '2025-02-26T04:33:39.532784'
lastRun: '2025-09-07T21:07:45.204052'
matchSpan:
end: 23
start: 15
@ -19,7 +19,7 @@ tests:
- expected: true
id: 2
input: Vikings Extended S05 1080p BluRay REMUX AVC DTS-HD MA 5.1-FraMeSToR
lastRun: '2025-02-26T04:33:39.532784'
lastRun: '2025-09-07T21:07:45.204052'
matchSpan:
end: 16
start: 8
@ -31,7 +31,7 @@ tests:
- expected: false
id: 3
input: My Very Extended Family
lastRun: '2025-02-26T04:33:39.532784'
lastRun: '2025-09-07T21:07:45.204052'
matchSpan:
end: 16
start: 8
@ -43,7 +43,7 @@ tests:
- expected: false
id: 4
input: Pente lepta akoma AKA Extended Play
lastRun: '2025-02-26T04:33:39.532784'
lastRun: '2025-09-07T21:07:45.204052'
matchSpan:
end: 30
start: 22
@ -55,7 +55,7 @@ tests:
- expected: false
id: 5
input: Uncut.2023.1080p.AMZN.WEB-DL.DDP2.0.H.264-LLL.mkv
lastRun: '2025-02-26T04:33:39.532784'
lastRun: '2025-09-07T21:07:45.204052'
matchSpan: null
matchedContent: null
matchedGroups: []
@ -63,7 +63,7 @@ tests:
- expected: true
id: 6
input: The Punisher (1989) Remastered Uncut 1080p BluRay x265 SDR DDP 5.1 English-Ralphy
lastRun: '2025-02-26T04:33:39.532784'
lastRun: '2025-09-07T21:07:45.204052'
matchSpan:
end: 36
start: 31
@ -75,7 +75,7 @@ tests:
- expected: false
id: 7
input: The Naked Director S01 2160p NF WEB-DL Dual-Audio DD+ 5.1 H.265-HONE
lastRun: '2025-02-26T04:33:39.532784'
lastRun: '2025-09-07T21:07:45.204052'
matchSpan: null
matchedContent: null
matchedGroups: []
@ -83,7 +83,7 @@ tests:
- expected: true
id: 8
input: Midsommar.2019.PROPER.Directors.Cut.UHD.BluRay.1080p.DDP.5.1.DoVi.HDR10.x265-SM737.mkv
lastRun: '2025-02-26T04:33:39.532784'
lastRun: '2025-09-07T21:07:45.204052'
matchSpan:
end: 31
start: 22
@ -95,7 +95,7 @@ tests:
- expected: false
id: 9
input: George.Michael.Freedom.Uncut.2022.1080p.AMZN.WEB-DL.DDP5.1.H.264-PTP.mkv
lastRun: '2025-02-26T04:33:39.532784'
lastRun: '2025-09-07T21:07:45.204052'
matchSpan:
end: 28
start: 23
@ -107,7 +107,7 @@ tests:
- expected: false
id: 10
input: Tupac.Uncensored.and.Uncut.The.Lost.Prison.Tapes.2011.DVDRip.x264-HANDJOB.mkv
lastRun: '2025-02-26T04:33:39.532784'
lastRun: '2025-09-07T21:07:45.204052'
matchSpan:
end: 16
start: 6
@ -119,7 +119,7 @@ tests:
- expected: false
id: 11
input: Friedkin.Uncut.2018.1080p.MUBI.WEB-DL.AAC2.0.H.264-BdC.mkv
lastRun: '2025-02-26T04:33:39.532784'
lastRun: '2025-09-07T21:07:45.204052'
matchSpan:
end: 14
start: 9
@ -131,7 +131,7 @@ tests:
- expected: false
id: 12
input: Sniper.Special.Ops.2016.720p.BluRay.DD5.1.x264-SpaceHD
lastRun: '2025-02-26T04:33:39.532784'
lastRun: '2025-09-07T21:07:45.204052'
matchSpan:
end: 14
start: 7
@ -143,7 +143,7 @@ tests:
- expected: true
id: 13
input: Revhead.Miduga.Special.Edition-SKIDROW
lastRun: '2025-02-26T04:33:39.532784'
lastRun: '2025-09-07T21:07:45.204052'
matchSpan:
end: 22
start: 15
@ -155,7 +155,7 @@ tests:
- expected: false
id: 14
input: Pointless.Celebrities.S17E09.Special.720p.WEB-DL.AAC2.0.H.264-BTN
lastRun: '2025-02-26T04:33:39.532784'
lastRun: '2025-09-07T21:07:45.204052'
matchSpan:
end: 36
start: 29
@ -168,7 +168,7 @@ tests:
id: 15
input: Land of the Dead 2005 Unrated DC REPACK SHOUT 1080p UHD BluRay DD 5 1 Atmos
DV HDR x265-SQS
lastRun: '2025-02-26T04:33:39.532784'
lastRun: '2025-09-07T21:07:45.204052'
matchSpan:
end: 29
start: 22
@ -180,7 +180,7 @@ tests:
- expected: false
id: 16
input: 'Unrated: The Movie'
lastRun: '2025-02-26T04:33:39.532784'
lastRun: '2025-09-07T21:07:45.204052'
matchSpan: null
matchedContent: null
matchedGroups: []
@ -188,7 +188,7 @@ tests:
- expected: true
id: 17
input: Who Framed Roger Rabbit 1988 Uncensored 1080p HDTV DD5.1 H.264.mkv
lastRun: '2025-02-26T04:33:39.532784'
lastRun: '2025-09-07T21:07:45.204052'
matchSpan:
end: 39
start: 29
@ -200,7 +200,7 @@ tests:
- expected: true
id: 18
input: The Veil Uncensored S01 2021 1080p WEB-DL AAC 2.0 H.264-Solonese
lastRun: '2025-02-26T04:33:39.532784'
lastRun: '2025-09-07T21:07:45.204052'
matchSpan:
end: 19
start: 9
@ -212,7 +212,7 @@ tests:
- expected: false
id: 19
input: Uncensored 2018 S06E11 Tamela Mann 720p HDTV x264-CRiMSON
lastRun: '2025-02-26T04:33:39.532784'
lastRun: '2025-09-07T21:07:45.204052'
matchSpan: null
matchedContent: null
matchedGroups: []
@ -220,7 +220,7 @@ tests:
- expected: true
id: 20
input: Zodiac.2007.Directors.Cut.Bluray.1080p.TrueHD.5.1.AVC.REMUX-FraMeSToR.mkv
lastRun: '2025-02-26T04:33:39.532784'
lastRun: '2025-09-07T21:07:45.204052'
matchSpan:
end: 21
start: 12
@ -233,7 +233,7 @@ tests:
id: 21
input: X-Men Days of Future Past 2014 The Rogue Cut 2160p MA WEB-DL TrueHD 7 1 DV
HDR10+ H 265-DRX
lastRun: '2025-02-26T04:33:39.532784'
lastRun: '2025-09-07T21:07:45.204052'
matchSpan:
end: 44
start: 41
@ -245,7 +245,7 @@ tests:
- expected: true
id: 22
input: The.Wicker.Man.The.Final.Cut.1973.UHD.BluRay.2160p.FLAC.2.0.DV.HEVC.REMUX-FraMeSToR
lastRun: '2025-02-26T04:33:39.532784'
lastRun: '2025-09-07T21:07:45.204052'
matchSpan:
end: 28
start: 25
@ -257,7 +257,7 @@ tests:
- expected: true
id: 23
input: Twin Peaks Alternate International Version 1989 720p BluRay DTD 5.1 x264-reward
lastRun: '2025-02-26T04:33:39.532784'
lastRun: '2025-09-07T21:07:45.204052'
matchSpan:
end: 42
start: 35
@ -269,7 +269,7 @@ tests:
- expected: true
id: 24
input: Trainspotting.1996.Collectors.Edition.1080P.BluRay.DD.5.1.X265-Ralphy.mkv
lastRun: '2025-02-26T04:33:39.532784'
lastRun: '2025-09-07T21:07:45.204052'
matchSpan:
end: 37
start: 30
@ -278,3 +278,16 @@ tests:
- Edition
- ''
passes: true
- expected: true
id: 25
input: Apocalypse Now (1979) {tmdb-28} {edition-Final Cut} [Remux-2160p][DV HDR10][TrueHD
Atmos 7.1][x265]-FraMeSToR.mkv
lastRun: '2025-09-07T21:07:45.204052'
matchSpan:
end: 50
start: 47
matchedContent: Cut
matchedGroups:
- Cut
- ''
passes: true