Fixed HDR

This commit is contained in:
Kyle McClain 2025-07-01 15:27:50 -07:00 committed by GitHub
parent 0cbbdf1be8
commit 3bb2448b57
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 209 additions and 231 deletions

View File

@ -5,126 +5,127 @@ description: This regex matches `HDR10` when followed by either a plus sign `+`,
tags: tags:
- Enhancement - Enhancement
- Colour Grade - Colour Grade
@@ -13,129 +10,132 @@ tests: - HDR
tests:
- expected: false - expected: false
id: 1 id: 1
input: HDR input: HDR
lastRun: '2025-04-05T09:25:21.372205' lastRun: '2025-04-05T09:25:21.372205'
matchSpan: null matchSpan: null
matchedContent: null matchedContent: null
matchedGroups: [] matchedGroups: []
passes: true passes: true
- expected: false - expected: false
id: 2 id: 2
input: HDR+ input: HDR+
lastRun: '2025-04-05T09:25:21.372205' lastRun: '2025-04-05T09:25:21.372205'
matchSpan: null matchSpan: null
matchedContent: null matchedContent: null
matchedGroups: [] matchedGroups: []
passes: true passes: true
- expected: false - expected: false
id: 3 id: 3
input: HDR10 input: HDR10
lastRun: '2025-04-05T09:25:21.372205' lastRun: '2025-04-05T09:25:21.372205'
matchSpan: null matchSpan: null
matchedContent: null matchedContent: null
matchedGroups: [] matchedGroups: []
passes: true passes: true
- expected: true - expected: true
id: 4 id: 4
input: HDR10+ input: HDR10+
lastRun: '2025-04-05T09:25:21.372205' lastRun: '2025-04-05T09:25:21.372205'
matchSpan: matchSpan:
end: 6 end: 6
start: 0 start: 0
matchedContent: HDR10+ matchedContent: HDR10+
matchedGroups: matchedGroups:
- + - +
- null - null
passes: true passes: true
- expected: false - expected: false
id: 5 id: 5
input: HLG HDR input: HLG HDR
lastRun: '2025-04-05T09:25:21.372205' lastRun: '2025-04-05T09:25:21.372205'
matchSpan: null matchSpan: null
matchedContent: null matchedContent: null
matchedGroups: [] matchedGroups: []
passes: true passes: true
- expected: false - expected: false
id: 6 id: 6
input: SDR HDR input: SDR HDR
lastRun: '2025-04-05T09:25:21.372205' lastRun: '2025-04-05T09:25:21.372205'
matchSpan: null matchSpan: null
matchedContent: null matchedContent: null
matchedGroups: [] matchedGroups: []
passes: true passes: true
- expected: false - expected: false
id: 7 id: 7
input: PQ HDR input: PQ HDR
lastRun: '2025-04-05T09:25:21.372205' lastRun: '2025-04-05T09:25:21.372205'
matchSpan: null matchSpan: null
matchedContent: null matchedContent: null
matchedGroups: [] matchedGroups: []
passes: true passes: true
- expected: true - expected: true
id: 8 id: 8
input: HDR10P input: HDR10P
lastRun: '2025-04-05T09:25:21.372205' lastRun: '2025-04-05T09:25:21.372205'
matchSpan: matchSpan:
end: 6 end: 6
start: 0 start: 0
matchedContent: HDR10P matchedContent: HDR10P
matchedGroups: matchedGroups:
- P - P
- null - null
passes: true passes: true
- expected: true - expected: true
id: 9 id: 9
input: HDR10Plus input: HDR10Plus
lastRun: '2025-04-05T09:25:21.372205' lastRun: '2025-04-05T09:25:21.372205'
matchSpan: matchSpan:
end: 9 end: 9
start: 0 start: 0
matchedContent: HDR10Plus matchedContent: HDR10Plus
matchedGroups: matchedGroups:
- Plus - Plus
- lus - lus
passes: true passes: true
- expected: true - expected: true
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-04-05T09:25:21.372205'
matchSpan: matchSpan:
end: 68 end: 68
start: 62 start: 62
matchedContent: HDR10+ matchedContent: HDR10+
matchedGroups: matchedGroups:
- + - +
- null - null
passes: true passes: true
- expected: true - expected: true
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-04-05T09:25:21.372205'
matchSpan: matchSpan:
end: 73 end: 73
start: 67 start: 67
matchedContent: HDR10+ matchedContent: HDR10+
matchedGroups: matchedGroups:
- + - +
- null - null
passes: true passes: true
- expected: false - expected: false
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-04-05T09:25:21.372205'
matchSpan: null matchSpan: null
matchedContent: null matchedContent: null
matchedGroups: [] matchedGroups: []
passes: true passes: true
- expected: true - expected: true
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

View File

@ -1,139 +1,116 @@
name: HDR10+ name: HDR10
pattern: \bHDR10.?(\+|P(lus)?\b) pattern: \bHDR10(?!\+|Plus)\b
description: This regex matches `HDR10` when followed by either a plus sign `+`, `P`, description: 'This regex matches `HDR10` only when it *is not* followed by any HDR
or `Plus` format specifiers like `+`, or `Plus`. '
tags: tags:
- Enhancement - Enhancement
- Colour Grade - Colour Grade
- HDR
tests:
- expected: false - expected: false
id: 1 id: 2
input: HDR input: HDR+
lastRun: '2025-04-05T09:25:21.372205' lastRun: '2025-04-02T20:01:38.732592'
matchSpan: null matchSpan: null
matchedContent: null matchedContent: null
matchedGroups: [] matchedGroups: []
passes: true passes: true
- expected: false - expected: true
id: 2 id: 3
input: HDR+ input: HDR10
lastRun: '2025-04-05T09:25:21.372205' lastRun: '2025-04-02T20:01:38.732592'
matchSpan: null matchSpan:
matchedContent: null end: 5
matchedGroups: [] start: 0
passes: true matchedContent: HDR10
- expected: false matchedGroups: []
id: 3 passes: true
input: HDR10 - expected: false
lastRun: '2025-04-05T09:25:21.372205' id: 4
matchSpan: null input: HDR10+
matchedContent: null lastRun: '2025-04-02T20:01:38.732592'
matchedGroups: [] matchSpan: null
passes: true matchedContent: null
- expected: true matchedGroups: []
id: 4 passes: true
input: HDR10+ - expected: false
lastRun: '2025-04-05T09:25:21.372205' id: 5
matchSpan: input: HLG HDR
end: 6 lastRun: '2025-04-02T20:01:38.732592'
start: 0 matchSpan: null
matchedContent: HDR10+ matchedContent: null
matchedGroups: matchedGroups: []
- + passes: true
- null - expected: false
passes: true id: 6
- expected: false input: SDR HDR
id: 5 lastRun: '2025-04-02T20:01:38.732592'
input: HLG HDR matchSpan: null
lastRun: '2025-04-05T09:25:21.372205' matchedContent: null
matchSpan: null matchedGroups: []
matchedContent: null passes: true
matchedGroups: [] - expected: false
passes: true id: 7
- expected: false input: PQ HDR
id: 6 lastRun: '2025-04-02T20:01:38.732592'
input: SDR HDR matchSpan: null
lastRun: '2025-04-05T09:25:21.372205' matchedContent: null
matchSpan: null matchedGroups: []
matchedContent: null passes: true
matchedGroups: [] - expected: true
passes: true id: 8
- expected: false input: HDR10
id: 7 lastRun: '2025-04-02T20:01:38.732592'
input: PQ HDR matchSpan:
lastRun: '2025-04-05T09:25:21.372205' end: 5
matchSpan: null start: 0
matchedContent: null matchedContent: HDR10
matchedGroups: [] matchedGroups: []
passes: true passes: true
- expected: true - expected: false
id: 8 id: 9
input: HDR10P input: Barbie (2023) 2160p UHD BluRay Hybrid REMUX HEVC DV HDR TrueHD Atmos 7.1
lastRun: '2025-04-05T09:25:21.372205' English-FraMeSToR
matchSpan: lastRun: '2025-04-02T20:01:38.732592'
end: 6 matchSpan: null
start: 0 matchedContent: null
matchedContent: HDR10P matchedGroups: []
matchedGroups: passes: true
- P - expected: false
- null id: 10
passes: true input: Game of Thrones (2011) S06 2160p UHD BluRay REMUX HEVC DV HDR TrueHD Atmos
- expected: true 7.1 English-FraMeSToR
id: 9 lastRun: '2025-04-02T20:01:38.732592'
input: HDR10Plus matchSpan: null
lastRun: '2025-04-05T09:25:21.372205' matchedContent: null
matchSpan: matchedGroups: []
end: 9 passes: true
start: 0 - expected: true
matchedContent: HDR10Plus id: 11
matchedGroups: input: Liu lang di qiu 2 AKA The Wandering Earth II 2023 2160p CHN UHD Blu-ray DoVi
- Plus HDR10 HEVC TrueHD 7.1 Atmos-ANKO
- lus lastRun: '2025-04-02T20:01:38.732592'
passes: true matchSpan:
- expected: true end: 82
id: 10 start: 77
input: Schindler's List (1993) 2160p UHD BluRay Hybrid REMUX HEVC DV HDR10+ TrueHD matchedContent: HDR10
Atmos 7.1 English-WiLDCAT matchedGroups: []
lastRun: '2025-04-05T09:25:21.372205' passes: true
matchSpan: - expected: false
end: 68 id: 12
start: 62 input: Schindler's List (1993) 2160p UHD BluRay Hybrid REMUX HEVC DV HDR10+ TrueHD
matchedContent: HDR10+ Atmos 7.1 English-WiLDCAT
matchedGroups: lastRun: '2025-04-02T20:01:38.732592'
- + matchSpan: null
- null matchedContent: null
passes: true matchedGroups: []
- expected: true passes: true
id: 11 - expected: false
input: La Maison S01 REPACK 2160p ATVP WEB-DL Dual-Audio DD+ 5.1 Atmos DV HDR10+ id: 13
H.265-Kitsune input: Schindler's List (1993) 2160p UHD BluRay Hybrid REMUX HEVC DV HDR10P TrueHD
lastRun: '2025-04-05T09:25:21.372205' Atmos 7.1 English-WiLDCAT
matchSpan: lastRun: '2025-04-02T20:01:38.732592'
end: 73 matchSpan: null
start: 67 matchedContent: null
matchedContent: HDR10+ matchedGroups: []
matchedGroups:
- +
- null
passes: true
- expected: false
id: 12
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
lastRun: '2025-04-05T09:25:21.372205'
matchSpan: null
matchedContent: null
matchedGroups: []
passes: true
- expected: true
id: 13
input: Schindler's List (1993) 2160p UHD BluRay Hybrid REMUX HEVC DV HDR10 Plus
TrueHD Atmos 7.1 English-WiLDCAT
lastRun: '2025-04-05T09:25:21.372205'
matchSpan:
end: 72
start: 62
matchedContent: HDR10 Plus
matchedGroups:
- Plus
- lus
passes: true passes: true