Regex logic fix for amazon search

This commit is contained in:
Kevin Röbert 2017-08-25 00:51:01 +02:00
parent c071805127
commit 78d6e4c26b

View File

@ -4,18 +4,18 @@
"urlPattern": "(https:\\/\\/||http:\\/\\/).*(\\.amazon\\.)\\w{2,}\\/.*", "urlPattern": "(https:\\/\\/||http:\\/\\/).*(\\.amazon\\.)\\w{2,}\\/.*",
"completeProvider": false, "completeProvider": false,
"rules": [ "rules": [
"pf_rd_[a-zA-Z]=[^&]*(\\?|&(amp;)?)?", "pf_rd_[a-zA-Z]=[^&]*(\\/|\\?|&(amp;)?)?",
"qid=[^&]*(\\?|&(amp;)?)?", "qid=[^&]*(\\/|\\?|&(amp;)?)?",
"sr=[^&]*(\\?|&(amp;)?)?", "sr=[^&]*(\\/|\\?|&(amp;)?)?",
"srs=[^&]*(\\?|&(amp;)?)?", "srs=[^&]*(\\/|\\?|&(amp;)?)?",
".*(adsensecustomsearchads\\.com)\\/.*", ".*(adsensecustomsearchads\\.com)\\/.*",
"pd_rd_[a-zA-Z]*=[^&]*(\\?|&(amp;)?)?", "pd_rd_[a-zA-Z]*=[^&]*(\\/|\\?|&(amp;)?)?",
"__mk_[a-zA-Z]{1,3}_[a-zA-Z]{1,3}=[^&]*(\\?|&(amp;)?)?", "__mk_[a-zA-Z]{1,3}_[a-zA-Z]{1,3}=[^&]*(\\/|\\?|&(amp;)?)?",
"url=[^&]*(\\?|&(amp;)?)?", "url=[^&]*(\\/|\\?|&(amp;)?)?",
"spIA=[^&]*(\\?|&(amp;)?)?", "spIA=[^&]*(\\/|\\?|&(amp;)?)?",
"rh=[^&]*(\\?|&(amp;)?)?", "rh=[^&]*(\\/|\\?|&(amp;)?)?",
"ms3_c=[^&]*(\\?|&(amp;)?)?", "ms3_c=[^&]*(\\/|\\?|&(amp;)?)?",
"ref[\\_]?=[^&]*(\\?|&(amp;)?)?" "ref[\\_]?=[^&]*(\\/|\\?|&(amp;)?)?"
], ],
"exceptions": [ "exceptions": [
".*(amazon\\.)\\w{2,}(\\/gp).*\\/redirector.html\\/.*", ".*(amazon\\.)\\w{2,}(\\/gp).*\\/redirector.html\\/.*",
@ -26,27 +26,27 @@
"urlPattern": "(https:\\/\\/||http:\\/\\/).*(\\.google\\.)\\w{2,}\\/.*", "urlPattern": "(https:\\/\\/||http:\\/\\/).*(\\.google\\.)\\w{2,}\\/.*",
"completeProvider": false, "completeProvider": false,
"rules": [ "rules": [
"ved=[^&]*(\\?|&(amp;)?)?", "ved=[^&]*(\\/|\\?|&(amp;)?)?",
"bi[a-zA-Z]*=[^&]*(\\?|&(amp;)?)?", "bi[a-zA-Z]*=[^&]*(\\/|\\?|&(amp;)?)?",
"gfe_[a-zA-Z]*=[^&]*(\\?|&(amp;)?)?", "gfe_[a-zA-Z]*=[^&]*(\\/|\\?|&(amp;)?)?",
"ei=[^&]*(\\?|&(amp;)?)?", "ei=[^&]*(\\/|\\?|&(amp;)?)?",
"source=[^&]*(\\?|&(amp;)?)?", "source=[^&]*(\\/|\\?|&(amp;)?)?",
"gs_[a-zA-Z]*=[^&]*(\\?|&(amp;)?)?", "gs_[a-zA-Z]*=[^&]*(\\/|\\?|&(amp;)?)?",
"site=[^&]*(\\?|&(amp;)?)?", "site=[^&]*(\\/|\\?|&(amp;)?)?",
"&\\.[^&]*(\\?|&(amp;)?)?", "&\\.[^&]*(\\/|\\?|&(amp;)?)?",
"oq=[^&]*(\\?|&(amp;)?)?", "oq=[^&]*(\\/|\\?|&(amp;)?)?",
"esrc=[^&]*(\\?|&(amp;)?)?", "esrc=[^&]*(\\/|\\?|&(amp;)?)?",
"uact=[^&]*(\\?|&(amp;)?)?", "uact=[^&]*(\\/|\\?|&(amp;)?)?",
"cd=[^&]*(\\?|&(amp;)?)?", "cd=[^&]*(\\/|\\?|&(amp;)?)?",
"cad=[^&]*(\\?|&(amp;)?)?", "cad=[^&]*(\\/|\\?|&(amp;)?)?",
"gws_[a-zA-Z]*=[^&]*(\\?|&(amp;)?)?", "gws_[a-zA-Z]*=[^&]*(\\/|\\?|&(amp;)?)?",
"im[a-zA-Z]*=[^&]*(\\?|&(amp;)?)?", "im[a-zA-Z]*=[^&]*(\\/|\\?|&(amp;)?)?",
"atyp=[^&]*(\\?|&(amp;)?)?", "atyp=[^&]*(\\/|\\?|&(amp;)?)?",
"vet=[^&]*(\\?|&(amp;)?)?", "vet=[^&]*(\\/|\\?|&(amp;)?)?",
"zx=[^&]*(\\?|&(amp;)?)?", "zx=[^&]*(\\/|\\?|&(amp;)?)?",
"_u=[^&]*(\\?|&(amp;)?)?", "_u=[^&]*(\\/|\\?|&(amp;)?)?",
"je=[^&]*(\\?|&(amp;)?)?", "je=[^&]*(\\/|\\?|&(amp;)?)?",
"[a-zA-Z\\_]+id=[^&]*(\\?|&(amp;)?)?" "[a-zA-Z\\_]+id=[^&]*(\\/|\\?|&(amp;)?)?"
], ],
"exceptions": [] "exceptions": []
}, },
@ -66,23 +66,23 @@
"urlPattern": ".*", "urlPattern": ".*",
"completeProvider": false, "completeProvider": false,
"rules": [ "rules": [
"utm_[a-zA-Z]*=[^&]*(\\?|&(amp;)?)?", "utm_[a-zA-Z]*=[^&]*(\\/|\\?|&(amp;)?)?",
"ga_source=[^&]*(\\?|&(amp;)?)?", "ga_source=[^&]*(\\/|\\?|&(amp;)?)?",
"ga_medium=[^&]*(\\?|&(amp;)?)?", "ga_medium=[^&]*(\\/|\\?|&(amp;)?)?",
"ga_term=[^&]*(\\?|&(amp;)?)?", "ga_term=[^&]*(\\/|\\?|&(amp;)?)?",
"ga_content=[^&]*(\\?|&(amp;)?)?", "ga_content=[^&]*(\\/|\\?|&(amp;)?)?",
"ga_campaign=[^&]*(\\?|&(amp;)?)?", "ga_campaign=[^&]*(\\/|\\?|&(amp;)?)?",
"ga_place=[^&]*(\\?|&(amp;)?)?", "ga_place=[^&]*(\\/|\\?|&(amp;)?)?",
"yclid=[^&]*(\\?|&(amp;)?)?", "yclid=[^&]*(\\/|\\?|&(amp;)?)?",
"_openstat=[^&]*(\\?|&(amp;)?)?", "_openstat=[^&]*(\\/|\\?|&(amp;)?)?",
"fb_action_ids=[^&]*(\\?|&(amp;)?)?", "fb_action_ids=[^&]*(\\/|\\?|&(amp;)?)?",
"fb_action_types=[^&]*(\\?|&(amp;)?)?", "fb_action_types=[^&]*(\\/|\\?|&(amp;)?)?",
"fb_ref=[^&]*(\\?|&(amp;)?)?", "fb_ref=[^&]*(\\/|\\?|&(amp;)?)?",
"fb_source=[^&]*(\\?|&(amp;)?)?", "fb_source=[^&]*(\\/|\\?|&(amp;)?)?",
"action_object_map=[^&]*(\\?|&(amp;)?)?", "action_object_map=[^&]*(\\/|\\?|&(amp;)?)?",
"action_type_map=[^&]*(\\?|&(amp;)?)?", "action_type_map=[^&]*(\\/|\\?|&(amp;)?)?",
"action_ref_map=[^&]*(\\?|&(amp;)?)?", "action_ref_map=[^&]*(\\/|\\?|&(amp;)?)?",
"gs_l=[^&]*(\\?|&(amp;)?)?" "gs_l=[^&]*(\\/|\\?|&(amp;)?)?"
], ],
"exceptions": [] "exceptions": []
}, },
@ -120,7 +120,7 @@
"urlPattern": "(https:\\/\\/||http:\\/\\/).*(\\.youtube\\.)\\w{2,}\\/.*", "urlPattern": "(https:\\/\\/||http:\\/\\/).*(\\.youtube\\.)\\w{2,}\\/.*",
"completeProvider": false, "completeProvider": false,
"rules": [ "rules": [
"feature=[^&]*(\\?|&(amp;)?)?" "feature=[^&]*(\\/|\\?|&(amp;)?)?"
], ],
"exceptions": [] "exceptions": []
}, },
@ -128,8 +128,8 @@
"urlPattern": "(https:\\/\\/||http:\\/\\/).*(\\.facebook\\.)\\w{2,}\\/.*", "urlPattern": "(https:\\/\\/||http:\\/\\/).*(\\.facebook\\.)\\w{2,}\\/.*",
"completeProvider": false, "completeProvider": false,
"rules": [ "rules": [
"[a-zA-Z]*ref=[^&]*(\\?|&(amp;)?)?", "[a-zA-Z]*ref=[^&]*(\\/|\\?|&(amp;)?)?",
"hc_location=[^&]*(\\?|&(amp;)?)?" "hc_location=[^&]*(\\/|\\?|&(amp;)?)?"
], ],
"exceptions": [] "exceptions": []
}, },
@ -137,7 +137,7 @@
"urlPattern": "(https:\\/\\/||http:\\/\\/).*(\\.imdb\\.com)\\/.*", "urlPattern": "(https:\\/\\/||http:\\/\\/).*(\\.imdb\\.com)\\/.*",
"completeProvider": false, "completeProvider": false,
"rules": [ "rules": [
"ref_=[^&]*(\\?|&(amp;)?)?" "ref_=[^&]*(\\/|\\?|&(amp;)?)?"
], ],
"exceptions": [] "exceptions": []
} }