Update 2.0 Stereo and 7.1 Surround Regex

This commit is contained in:
Seraphys
2026-06-27 00:14:20 +00:00
parent c54b158f48
commit ff02d0190a
@@ -0,0 +1,13 @@
-- @operation: export
-- @entity: batch
-- @name: Update 2.0 Stereo and 7.1 Surround Regex
-- @exportedAt: 2026-06-27T00:14:19.211Z
-- @opIds: 11371, 11372
-- --- BEGIN op 11371 ( update regular_expression "Stereo" )
update "regular_expressions" set "pattern" = '(?<=\b[12]\d{3}\b.*?)(?<!repac)[^0-9]2[ .]0\b|\bStereo\b' where "name" = 'Stereo' and "pattern" = '(?<!repac)[^0-9]2[ .]0\b|\bStereo\b';
-- --- END op 11371
-- --- BEGIN op 11372 ( update regular_expression "Not Low Channel Count" )
update "regular_expressions" set "pattern" = '(?<=\b[12]\d{3}\b.*?)(?<!repac)[^0-9][1-4][ .][0-1]\b|\b(Stereo|Mono)\b' where "name" = 'Not Low Channel Count' and "pattern" = '(?<!repac)[^0-9][1-4][ .][0-1]\b|\b(Stereo|Mono)\b';
-- --- END op 11372