fix: Fixed DD+ Regex via TRaSH

This commit is contained in:
bedynamictech 2025-07-07 13:38:27 -07:00
parent 46885ff236
commit 393cb73d13
2 changed files with 12 additions and 4 deletions

View File

@ -1,5 +1,5 @@
name: Dolby Digital +
pattern: \bDD(?:[+.]\d+|\d+\.\d+|P)?\b|\bE[-_. ]?AC3\b
pattern: \bDD(?:[+.]\d+|\d+\.\d+|P|\+)?(?!A)\b|\bE[-_. ]?AC-?3\b
description: ''
tags:
- Audio
@ -7,7 +7,7 @@ tests:
- expected: true
id: 1
input: Parks.and.Recreation.S03E16.Lil.Sebastian.1080p.AMZN.WEBRip.DD5.1.x264-NTb
lastRun: '2025-07-07T09:08:40.984150'
lastRun: '2025-07-07T13:36:04.211480'
matchSpan:
end: 65
start: 60

View File

@ -1,5 +1,5 @@
name: Dolby Digital
pattern: \bDD(?![0-9]\.[0-9])[^a-z+]|(?<!e)ac3
pattern: \\bDD[^a-z+]|(?<!e-)\\b(ac-?3)\\b
description: ''
tags:
- Audio
@ -7,7 +7,15 @@ tests:
- expected: false
id: 1
input: Parks.and.Recreation.S03E16.Lil.Sebastian.1080p.AMZN.WEBRip.DD5.1.x264-NTb
lastRun: '2025-07-07T09:08:01.702437'
lastRun: '2025-07-07T13:34:36.604739'
matchSpan: null
matchedContent: null
matchedGroups: []
passes: true
- expected: false
id: 2
input: WALL-E.2008.2160p.UHD.BluRay.x265.HDR.DV.DD.7.1-Pahe.in
lastRun: '2025-07-07T13:34:36.604739'
matchSpan: null
matchedContent: null
matchedGroups: []