Files
trash/ops/114.fix-evo-and-pirates-in-lq.sql
T
2026-08-23 17:10:23 +00:00

14 lines
735 B
SQL

-- @operation: export
-- @entity: batch
-- @name: Fix EVO and Pirates in LQ
-- @exportedAt: 2026-08-23T17:10:21.924Z
-- @opIds: 13454, 13457
-- --- BEGIN op 13454 ( update regular_expression "EVO (no WEBDL)" )
update "regular_expressions" set "pattern" = '(?<!\bweb[ ._-]?(dl|rip)?\b.*)-(EVO)\b' where "name" = 'EVO (no WEBDL)' and "pattern" = '(?<=\b[12]\d{3}\b.*?)(?<!\b(web[ ._-]?(dl|rip)?).*?)\b(EVO)\b';
-- --- END op 13454
-- --- BEGIN op 13457 ( update regular_expression "PiRaTeS (no WEBDL)" )
update "regular_expressions" set "pattern" = '(?<!\bweb[ ._-]?(dl|rip)?\b.*)-(PiRaTeS)\b' where "name" = 'PiRaTeS (no WEBDL)' and "pattern" = '(?<=\b[12]\d{3}\b.*?)(?<!\b(web[ ._-]?(dl|rip)?).*?)\b(PiRaTeS)\b';
-- --- END op 13457