Skip to content

Commit 3396ecc

Browse files
committed
Nordic Regex and CF
1 parent eb06587 commit 3396ecc

1 file changed

Lines changed: 24 additions & 0 deletions

File tree

ops/113.nordic-regex-and-cf.sql

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
-- @operation: export
2+
-- @entity: batch
3+
-- @name: Nordic Regex and CF
4+
-- @exportedAt: 2026-03-28T20:33:13.020Z
5+
-- @opIds: 4132, 4133, 4134, 4135
6+
7+
-- --- BEGIN op 4132 ( create regular_expression "Nordic" )
8+
insert into "regular_expressions" ("name", "pattern", "description", "regex101_id") values ('Nordic', '\b(480p)\b', NULL, NULL);
9+
-- --- END op 4132
10+
11+
-- --- BEGIN op 4133 ( update regular_expression "Nordic" )
12+
update "regular_expressions" set "pattern" = '\b(Nordic)\b' where "name" = 'Nordic' and "pattern" = '\b(480p)\b';
13+
-- --- END op 4133
14+
15+
-- --- BEGIN op 4134 ( create custom_format "Nordic" )
16+
insert into "custom_formats" ("name", "description") values ('Nordic', '');
17+
-- --- END op 4134
18+
19+
-- --- BEGIN op 4135 ( update custom_format "Nordic" )
20+
INSERT INTO custom_format_conditions (custom_format_name, name, type, arr_type, negate, required)
21+
VALUES ('Nordic', 'Nordic', 'release_title', 'all', 0, 1);
22+
23+
INSERT INTO condition_patterns (custom_format_name, condition_name, regular_expression_name) VALUES ('Nordic', 'Nordic', 'Nordic');
24+
-- --- END op 4135

0 commit comments

Comments
 (0)