fix: group terms correctly for ai regex

fixes the upscale/enhanced/remaster words matching the ai regex.
This commit is contained in:
Viren070
2024-12-14 17:41:35 +00:00
parent 5112250edd
commit 8fa3a678dd
+1 -1
View File
@@ -92,7 +92,7 @@ const REGEX_PATTERNS = {
HDR: /(?<![^ [_\-.])(hdr)(?=[ \]_.-]|$)/i,
DV: /(?<![^ [_\-.])(dolby[ .\-_]?vision(?:[ .\-_]?atmos)?|dv)(?=[ \]_.-]|$)/i,
IMAX: /(?<![^ [_\-.])(imax)(?=[ \]_.-]|$)/i,
AI: /(?<![^ [_\-.])(ai[ .\-_]?upscale|enhanced|remaster)(?=[ \]_.-]|$)/i,
AI: /(?<![^ [_\-.])(ai[ .\-_]?(upscale|enhanced|remaster))(?=[ \]_.-]|$)/i,
},
audioTags: {
Atmos: /(?<![^ [_\-.])(atmos)(?=[ \]_.-]|$)/i,