feat(regex): Add audio regex patterns

This commit is contained in:
santiagosayshey
2024-12-12 11:03:26 +10:50
parent 1779b56e28
commit 5f700e1b00
15 changed files with 82 additions and 0 deletions

View File

@@ -0,0 +1,7 @@
name: 7.1 Surround
pattern: '7.1'
description: ''
tags:
- Audio
- Channel
tests: []

5
regex_patterns/AAC.yml Normal file
View File

@@ -0,0 +1,5 @@
name: AAC
pattern: \bAAC(\b|\d)
description: ''
tags: []
tests: []

7
regex_patterns/Atmos.yml Normal file
View File

@@ -0,0 +1,7 @@
name: Atmos
pattern: \bATMOS(\b|\d)
description: ''
tags:
- Audio
- Enhancement
tests: []

View File

@@ -0,0 +1,5 @@
name: DTS-HD HRA ES
pattern: dts[-. ]?(es|(hd[. ]?)?(hr|hi))
description: ''
tags: []
tests: []

View File

@@ -0,0 +1,5 @@
name: DTS-HD MA
pattern: \b(dts[-_. ]?(ma|hd([-_. ]?ma)?|xll))(\b|\d)
description: ''
tags: []
tests: []

View File

@@ -0,0 +1,5 @@
name: DTS-HD
pattern: \b(dts[-_. ]?(ma|hd([-_. ]?ma)?|xll))\b
description: ''
tags: []
tests: []

5
regex_patterns/DTS-X.yml Normal file
View File

@@ -0,0 +1,5 @@
name: DTS-X
pattern: \b(dts[-_. ]?x)\b(?!\d)
description: ''
tags: []
tests: []

5
regex_patterns/DTS.yml Normal file
View File

@@ -0,0 +1,5 @@
name: DTS
pattern: \bDTS(\b|\d)
description: ''
tags: []
tests: []

View File

@@ -0,0 +1,5 @@
name: Dolby Digital +
pattern: \bDD[P+]|\b(e[-_. ]?ac3)\b
description: ''
tags: []
tests: []

View File

@@ -0,0 +1,5 @@
name: Dolby Digital
pattern: \bDD[^a-z+]|(?<!e)ac3
description: ''
tags: []
tests: []

5
regex_patterns/FLAC.yml Normal file
View File

@@ -0,0 +1,5 @@
name: FLAC
pattern: \bFLAC(\b|\d)
description: ''
tags: []
tests: []

5
regex_patterns/PCM.yml Normal file
View File

@@ -0,0 +1,5 @@
name: PCM
pattern: \b(l?)PCM(\b|\d)
description: ''
tags: []
tests: []

View File

@@ -0,0 +1,6 @@
name: TrueHD (Missing Groups)
pattern: (?<=^|[\s.-])TRiToN|EPSiLON|NoGroup\b
description: Matches groups who mislabel TrueHD
tags:
- Release Group
tests: []

View File

@@ -0,0 +1,5 @@
name: TrueHD + Atmos
pattern: True[ .-]?HD|\bATMOS(\b|\d)
description: ''
tags: []
tests: []

View File

@@ -0,0 +1,7 @@
name: TrueHD
pattern: True[ .-]?HD[ .-]?
description: ''
tags:
- Audio
- Lossless
tests: []