From db03e2054d3a44ca43fe4d69f0c2f0ff65ad9267 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kevin=20R=C3=B6bert?= Date: Fri, 4 Aug 2017 02:48:47 +0200 Subject: [PATCH] Test rules and exceptions --- rules/exceptions.json | 6 ++++++ rules/rules.json | 12 ++++++++++++ 2 files changed, 18 insertions(+) create mode 100644 rules/exceptions.json create mode 100644 rules/rules.json diff --git a/rules/exceptions.json b/rules/exceptions.json new file mode 100644 index 0000000..0b92435 --- /dev/null +++ b/rules/exceptions.json @@ -0,0 +1,6 @@ +{ + "amazon": [ + ".*(amazon\\.)\\w{2,}(\\/gp\\/).*" + ], + +} \ No newline at end of file diff --git a/rules/rules.json b/rules/rules.json new file mode 100644 index 0000000..7df54a6 --- /dev/null +++ b/rules/rules.json @@ -0,0 +1,12 @@ +{ + "amazon": [ + "pf_rd_[a-zA-Z]=[a-zA-Z0-9\\-\\.\\_]*[\\?|&]?", + "qid=[a-zA-Z0-9\\-\\.\\_]*[\\?|&]?", + "sr=[a-zA-Z0-9\\-\\.\\_]*[\\?|&]?", + "srs=[a-zA-Z0-9\\-\\.\\_]*[\\?|&]?", + ".*(amazon-adsystem\\.com)\\/.*", + ".*(adsensecustomsearchads\\.com)\\/.*", + "pd_rd_[a-zA-Z]*=[a-zA-Z0-9\\-\\.\\_]*[\\?|&]?" + ], + +} \ No newline at end of file