tweak(regex): Remove Year Limiter on Repack
This commit is contained in:
parent
836e37467a
commit
a4a1875fe0
|
|
@ -1,5 +1,5 @@
|
||||||
name: Repack1
|
name: Repack1
|
||||||
pattern: (?<=.*?\d{4}.*?)\b(re(pack|rip)|proper)\b
|
pattern: \b(re(pack|rip)|proper)\b
|
||||||
description: 'Matches ''PROPER'' or ''REPACK'' or ''RERIP'' only when they appear
|
description: 'Matches ''PROPER'' or ''REPACK'' or ''RERIP'' only when they appear
|
||||||
after a year (4 digits) but not before one.
|
after a year (4 digits) but not before one.
|
||||||
|
|
||||||
|
|
@ -14,7 +14,7 @@ tests:
|
||||||
- expected: true
|
- expected: true
|
||||||
id: 1
|
id: 1
|
||||||
input: The Zone of Interest 2023 PROPER 2160p UHD BluRay TrueHD 7.1 Atmos HDR x265-MainFrame
|
input: The Zone of Interest 2023 PROPER 2160p UHD BluRay TrueHD 7.1 Atmos HDR x265-MainFrame
|
||||||
lastRun: '2025-02-06T06:58:16.693168'
|
lastRun: '2025-06-17T18:42:29.675411'
|
||||||
matchSpan:
|
matchSpan:
|
||||||
end: 32
|
end: 32
|
||||||
start: 26
|
start: 26
|
||||||
|
|
@ -26,27 +26,31 @@ tests:
|
||||||
- expected: false
|
- expected: false
|
||||||
id: 2
|
id: 2
|
||||||
input: Proper.Pronouns.2020.720p.WEB-DL.AAC2.0.x264-ZTR.mkv
|
input: Proper.Pronouns.2020.720p.WEB-DL.AAC2.0.x264-ZTR.mkv
|
||||||
lastRun: '2025-02-06T06:58:16.693168'
|
lastRun: '2025-06-17T18:42:29.675411'
|
||||||
matchSpan: null
|
matchSpan:
|
||||||
matchedContent: null
|
end: 6
|
||||||
matchedGroups: []
|
start: 0
|
||||||
passes: true
|
matchedContent: Proper
|
||||||
|
matchedGroups:
|
||||||
|
- Proper
|
||||||
|
- null
|
||||||
|
passes: false
|
||||||
- expected: true
|
- expected: true
|
||||||
id: 3
|
id: 3
|
||||||
input: Proper.Pronouns.2020.720p.PROPER.WEB-DL.AAC2.0.x264-ZTR.mkv
|
input: Proper.Pronouns.2020.720p.PROPER.WEB-DL.AAC2.0.x264-ZTR.mkv
|
||||||
lastRun: '2025-02-06T06:58:16.693168'
|
lastRun: '2025-06-17T18:42:29.675411'
|
||||||
matchSpan:
|
matchSpan:
|
||||||
end: 32
|
end: 6
|
||||||
start: 26
|
start: 0
|
||||||
matchedContent: PROPER
|
matchedContent: Proper
|
||||||
matchedGroups:
|
matchedGroups:
|
||||||
- PROPER
|
- Proper
|
||||||
- null
|
- null
|
||||||
passes: true
|
passes: true
|
||||||
- expected: true
|
- expected: true
|
||||||
id: 4
|
id: 4
|
||||||
input: Sonic.the.Hedgehog.3.2024.REPACK.2160p.WEB-DL.DDP5.1.Atmos.DoVi.HDR.H.265-FLUX
|
input: Sonic.the.Hedgehog.3.2024.REPACK.2160p.WEB-DL.DDP5.1.Atmos.DoVi.HDR.H.265-FLUX
|
||||||
lastRun: '2025-02-06T06:58:16.693168'
|
lastRun: '2025-06-17T18:42:29.675411'
|
||||||
matchSpan:
|
matchSpan:
|
||||||
end: 32
|
end: 32
|
||||||
start: 26
|
start: 26
|
||||||
|
|
@ -58,7 +62,7 @@ tests:
|
||||||
- expected: true
|
- expected: true
|
||||||
id: 5
|
id: 5
|
||||||
input: roommate.wanted.2015.rerip.720p.bluray.x264-rusted.mkv
|
input: roommate.wanted.2015.rerip.720p.bluray.x264-rusted.mkv
|
||||||
lastRun: '2025-02-06T06:58:16.693168'
|
lastRun: '2025-06-17T18:42:29.675411'
|
||||||
matchSpan:
|
matchSpan:
|
||||||
end: 26
|
end: 26
|
||||||
start: 21
|
start: 21
|
||||||
|
|
@ -67,3 +71,15 @@ tests:
|
||||||
- rerip
|
- rerip
|
||||||
- rip
|
- rip
|
||||||
passes: true
|
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'
|
||||||
|
matchSpan:
|
||||||
|
end: 26
|
||||||
|
start: 20
|
||||||
|
matchedContent: REPACK
|
||||||
|
matchedGroups:
|
||||||
|
- REPACK
|
||||||
|
- PACK
|
||||||
|
passes: true
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue