tweak(regex): Update Test Case

This commit is contained in:
Seraphys 2025-06-18 11:54:26 -05:00
parent dade4f8ed2
commit 9f144440bc
3 changed files with 61 additions and 26 deletions

View File

@ -10,7 +10,7 @@ tests:
- expected: false - expected: false
id: 1 id: 1
input: Barbie.2023.2160p.MA.WEB-DL.DDP5.1.Atmos.DV.HDR.H.265-FLUX input: Barbie.2023.2160p.MA.WEB-DL.DDP5.1.Atmos.DV.HDR.H.265-FLUX
lastRun: '2024-12-13T09:54:37.318637' lastRun: '2025-06-18T11:54:10.281095'
matchSpan: null matchSpan: null
matchedContent: null matchedContent: null
matchedGroups: [] matchedGroups: []
@ -19,7 +19,7 @@ tests:
id: 2 id: 2
input: "\t Barbie (2023) (2160p AMZN WEB-DL Hybrid H265 DV HDR10+ DDP Atmos 5.1\ input: "\t Barbie (2023) (2160p AMZN WEB-DL Hybrid H265 DV HDR10+ DDP Atmos 5.1\
\ English - HONE)" \ English - HONE)"
lastRun: '2024-12-13T09:54:37.318637' lastRun: '2025-06-18T11:54:10.281095'
matchSpan: null matchSpan: null
matchedContent: null matchedContent: null
matchedGroups: [] matchedGroups: []
@ -27,7 +27,7 @@ tests:
- expected: true - expected: true
id: 3 id: 3
input: Barbie.2023.2160p.MA.WEB-DL.DDP5.1.Atmos.DV.H.265-FLUX input: Barbie.2023.2160p.MA.WEB-DL.DDP5.1.Atmos.DV.H.265-FLUX
lastRun: '2024-12-13T09:54:37.318637' lastRun: '2025-06-18T11:54:10.281095'
matchSpan: matchSpan:
end: 43 end: 43
start: 41 start: 41
@ -40,7 +40,7 @@ tests:
- expected: true - expected: true
id: 4 id: 4
input: Barbie.2023.2160p.MA.WEB-DL.DDP5.1.Atmos.DV.H.265-FLUX.mkv input: Barbie.2023.2160p.MA.WEB-DL.DDP5.1.Atmos.DV.H.265-FLUX.mkv
lastRun: '2024-12-13T09:54:37.318637' lastRun: '2025-06-18T11:54:10.281095'
matchSpan: matchSpan:
end: 43 end: 43
start: 41 start: 41
@ -50,3 +50,12 @@ tests:
- DV - DV
- null - null
passes: true passes: true
- expected: false
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-06-18T11:54:10.281095'
matchSpan: null
matchedContent: null
matchedGroups: []
passes: true

View File

@ -13,7 +13,7 @@ tests:
- expected: true - expected: true
id: 1 id: 1
input: MovieName.2023.4K.DV.HDR.mkv input: MovieName.2023.4K.DV.HDR.mkv
lastRun: '2024-12-13T09:06:01.845546' lastRun: '2025-06-18T11:54:00.452053'
matchSpan: matchSpan:
end: 20 end: 20
start: 18 start: 18
@ -25,7 +25,7 @@ tests:
- expected: true - expected: true
id: 2 id: 2
input: MovieName.2023.4K.Dovi.HDR10+.mkv input: MovieName.2023.4K.Dovi.HDR10+.mkv
lastRun: '2024-12-13T09:06:01.845546' lastRun: '2025-06-18T11:54:00.452053'
matchSpan: matchSpan:
end: 22 end: 22
start: 18 start: 18
@ -37,7 +37,7 @@ tests:
- expected: true - expected: true
id: 3 id: 3
input: MovieName.2023.4K.Dolby.Vision.HDR.mkv input: MovieName.2023.4K.Dolby.Vision.HDR.mkv
lastRun: '2024-12-13T09:06:01.845546' lastRun: '2025-06-18T11:54:00.452053'
matchSpan: matchSpan:
end: 30 end: 30
start: 18 start: 18
@ -49,7 +49,7 @@ tests:
- expected: true - expected: true
id: 4 id: 4
input: MovieName.2023.4K.DolbyVision.HDR10+.mkv input: MovieName.2023.4K.DolbyVision.HDR10+.mkv
lastRun: '2024-12-13T09:06:01.845546' lastRun: '2025-06-18T11:54:00.452053'
matchSpan: matchSpan:
end: 29 end: 29
start: 18 start: 18
@ -61,7 +61,7 @@ tests:
- expected: true - expected: true
id: 5 id: 5
input: MovieName.1080p.DV.mkv input: MovieName.1080p.DV.mkv
lastRun: '2024-12-13T09:06:01.845546' lastRun: '2025-06-18T11:54:00.452053'
matchSpan: matchSpan:
end: 18 end: 18
start: 16 start: 16
@ -73,7 +73,7 @@ tests:
- expected: true - expected: true
id: 6 id: 6
input: MovieName.4K.Dolby Vision.IMAX.mkv input: MovieName.4K.Dolby Vision.IMAX.mkv
lastRun: '2024-12-13T09:06:01.845546' lastRun: '2025-06-18T11:54:00.452053'
matchSpan: matchSpan:
end: 25 end: 25
start: 13 start: 13
@ -85,7 +85,7 @@ tests:
- expected: false - expected: false
id: 7 id: 7
input: MovieName.2023.4K.DV.HLG.mkv input: MovieName.2023.4K.DV.HLG.mkv
lastRun: '2024-12-13T09:06:01.845546' lastRun: '2025-06-18T11:54:00.452053'
matchSpan: null matchSpan: null
matchedContent: null matchedContent: null
matchedGroups: [] matchedGroups: []
@ -93,7 +93,7 @@ tests:
- expected: false - expected: false
id: 8 id: 8
input: MovieName.2023.4K.DV.SDR.mkv input: MovieName.2023.4K.DV.SDR.mkv
lastRun: '2024-12-13T09:06:01.845546' lastRun: '2025-06-18T11:54:00.452053'
matchSpan: null matchSpan: null
matchedContent: null matchedContent: null
matchedGroups: [] matchedGroups: []
@ -101,7 +101,7 @@ tests:
- expected: true - expected: true
id: 9 id: 9
input: MovieName.4K.DV.SDR.Dovi.mkv input: MovieName.4K.DV.SDR.Dovi.mkv
lastRun: '2024-12-13T09:06:01.845546' lastRun: '2025-06-18T11:54:00.452053'
matchSpan: matchSpan:
end: 24 end: 24
start: 20 start: 20
@ -110,3 +110,16 @@ tests:
- Dovi - Dovi
- null - null
passes: true passes: true
- expected: true
id: 10
input: Killers of the Flower Moon (2023) {tmdb-466420} [iT][WEBDL-2160p][DV HDR10Plus][EAC3
Atmos 5.1][h265]-FLUX.mkv
lastRun: '2025-06-18T11:54:00.452053'
matchSpan:
end: 68
start: 66
matchedContent: DV
matchedGroups:
- DV
- null
passes: true

View File

@ -10,7 +10,7 @@ tests:
- expected: false - expected: false
id: 1 id: 1
input: HDR input: HDR
lastRun: '2025-04-05T09:25:21.372205' lastRun: '2025-06-18T11:53:45.281996'
matchSpan: null matchSpan: null
matchedContent: null matchedContent: null
matchedGroups: [] matchedGroups: []
@ -18,7 +18,7 @@ tests:
- expected: false - expected: false
id: 2 id: 2
input: HDR+ input: HDR+
lastRun: '2025-04-05T09:25:21.372205' lastRun: '2025-06-18T11:53:45.281996'
matchSpan: null matchSpan: null
matchedContent: null matchedContent: null
matchedGroups: [] matchedGroups: []
@ -26,7 +26,7 @@ tests:
- expected: false - expected: false
id: 3 id: 3
input: HDR10 input: HDR10
lastRun: '2025-04-05T09:25:21.372205' lastRun: '2025-06-18T11:53:45.281996'
matchSpan: null matchSpan: null
matchedContent: null matchedContent: null
matchedGroups: [] matchedGroups: []
@ -34,7 +34,7 @@ tests:
- expected: true - expected: true
id: 4 id: 4
input: HDR10+ input: HDR10+
lastRun: '2025-04-05T09:25:21.372205' lastRun: '2025-06-18T11:53:45.281996'
matchSpan: matchSpan:
end: 6 end: 6
start: 0 start: 0
@ -46,7 +46,7 @@ tests:
- expected: false - expected: false
id: 5 id: 5
input: HLG HDR input: HLG HDR
lastRun: '2025-04-05T09:25:21.372205' lastRun: '2025-06-18T11:53:45.281996'
matchSpan: null matchSpan: null
matchedContent: null matchedContent: null
matchedGroups: [] matchedGroups: []
@ -54,7 +54,7 @@ tests:
- expected: false - expected: false
id: 6 id: 6
input: SDR HDR input: SDR HDR
lastRun: '2025-04-05T09:25:21.372205' lastRun: '2025-06-18T11:53:45.281996'
matchSpan: null matchSpan: null
matchedContent: null matchedContent: null
matchedGroups: [] matchedGroups: []
@ -62,7 +62,7 @@ tests:
- expected: false - expected: false
id: 7 id: 7
input: PQ HDR input: PQ HDR
lastRun: '2025-04-05T09:25:21.372205' lastRun: '2025-06-18T11:53:45.281996'
matchSpan: null matchSpan: null
matchedContent: null matchedContent: null
matchedGroups: [] matchedGroups: []
@ -70,7 +70,7 @@ tests:
- expected: true - expected: true
id: 8 id: 8
input: HDR10P input: HDR10P
lastRun: '2025-04-05T09:25:21.372205' lastRun: '2025-06-18T11:53:45.281996'
matchSpan: matchSpan:
end: 6 end: 6
start: 0 start: 0
@ -82,7 +82,7 @@ tests:
- expected: true - expected: true
id: 9 id: 9
input: HDR10Plus input: HDR10Plus
lastRun: '2025-04-05T09:25:21.372205' lastRun: '2025-06-18T11:53:45.281996'
matchSpan: matchSpan:
end: 9 end: 9
start: 0 start: 0
@ -95,7 +95,7 @@ tests:
id: 10 id: 10
input: Schindler's List (1993) 2160p UHD BluRay Hybrid REMUX HEVC DV HDR10+ TrueHD input: Schindler's List (1993) 2160p UHD BluRay Hybrid REMUX HEVC DV HDR10+ TrueHD
Atmos 7.1 English-WiLDCAT Atmos 7.1 English-WiLDCAT
lastRun: '2025-04-05T09:25:21.372205' lastRun: '2025-06-18T11:53:45.281996'
matchSpan: matchSpan:
end: 68 end: 68
start: 62 start: 62
@ -108,7 +108,7 @@ tests:
id: 11 id: 11
input: La Maison S01 REPACK 2160p ATVP WEB-DL Dual-Audio DD+ 5.1 Atmos DV HDR10+ input: La Maison S01 REPACK 2160p ATVP WEB-DL Dual-Audio DD+ 5.1 Atmos DV HDR10+
H.265-Kitsune H.265-Kitsune
lastRun: '2025-04-05T09:25:21.372205' lastRun: '2025-06-18T11:53:45.281996'
matchSpan: matchSpan:
end: 73 end: 73
start: 67 start: 67
@ -121,7 +121,7 @@ tests:
id: 12 id: 12
input: Liu lang di qiu 2 AKA The Wandering Earth II 2023 2160p CHN UHD Blu-ray DoVi input: Liu lang di qiu 2 AKA The Wandering Earth II 2023 2160p CHN UHD Blu-ray DoVi
HDR10 HEVC TrueHD 7.1 Atmos-ANKO HDR10 HEVC TrueHD 7.1 Atmos-ANKO
lastRun: '2025-04-05T09:25:21.372205' lastRun: '2025-06-18T11:53:45.281996'
matchSpan: null matchSpan: null
matchedContent: null matchedContent: null
matchedGroups: [] matchedGroups: []
@ -130,7 +130,7 @@ tests:
id: 13 id: 13
input: Schindler's List (1993) 2160p UHD BluRay Hybrid REMUX HEVC DV HDR10 Plus input: Schindler's List (1993) 2160p UHD BluRay Hybrid REMUX HEVC DV HDR10 Plus
TrueHD Atmos 7.1 English-WiLDCAT TrueHD Atmos 7.1 English-WiLDCAT
lastRun: '2025-04-05T09:25:21.372205' lastRun: '2025-06-18T11:53:45.281996'
matchSpan: matchSpan:
end: 72 end: 72
start: 62 start: 62
@ -139,3 +139,16 @@ tests:
- Plus - Plus
- lus - lus
passes: true passes: true
- expected: true
id: 14
input: Killers of the Flower Moon (2023) {tmdb-466420} [iT][WEBDL-2160p][DV HDR10Plus][EAC3
Atmos 5.1][h265]-FLUX.mkv
lastRun: '2025-06-18T11:53:45.281996'
matchSpan:
end: 78
start: 69
matchedContent: HDR10Plus
matchedGroups:
- Plus
- lus
passes: true