tweak(regex): DD Test Case

This commit is contained in:
Seraphys 2025-07-13 14:55:58 -05:00
parent 0c23016013
commit 8e16c6cee2
2 changed files with 39 additions and 2 deletions

View File

@ -3,4 +3,23 @@ pattern: \bDD[P+]|\b(e[-_. ]?ac3)\b
description: ''
tags:
- Audio
tests: []
tests:
- expected: false
id: 1
input: Un-Ex You 2025 1080p NF WEB-DL DD 5.1 H.264-FLUX
lastRun: '2025-07-13T14:55:44.265163'
matchSpan: null
matchedContent: null
matchedGroups: []
passes: true
- expected: true
id: 2
input: Un-Ex You 2025 1080p NF WEB-DL DD+ 5.1 H.264-FLUX
lastRun: '2025-07-13T14:55:44.265163'
matchSpan:
end: 34
start: 31
matchedContent: DD+
matchedGroups:
- null
passes: true

View File

@ -3,4 +3,22 @@ pattern: \bDD[^a-z+]|(?<!e)ac3
description: ''
tags:
- Audio
tests: []
tests:
- expected: true
id: 1
input: Un-Ex You 2025 1080p NF WEB-DL DD 5.1 H.264-FLUX
lastRun: '2025-07-13T14:55:08.599617'
matchSpan:
end: 34
start: 31
matchedContent: 'DD '
matchedGroups: []
passes: true
- expected: false
id: 2
input: Un-Ex You 2025 1080p NF WEB-DL DD+ 5.1 H.264-FLUX
lastRun: '2025-07-13T14:55:08.599617'
matchSpan: null
matchedContent: null
matchedGroups: []
passes: true