From d267a780c32337c11ec6c62910ab6b6da1d09850 Mon Sep 17 00:00:00 2001 From: SnackCode Date: Tue, 2 Jun 2015 09:52:10 -0700 Subject: [PATCH] Split script from html, add non-capturing groups Also needed to fix html href attribute regex. --- src/apps.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/apps.json b/src/apps.json index 50a4232a7..f01771638 100755 --- a/src/apps.json +++ b/src/apps.json @@ -3895,7 +3895,8 @@ "meta": { "generator": "Odoo" }, - "html": "(]* href=[^>]/web/css/(web\\.assets_common/|website\\.assets_frontend/)|]* src=[^>]/web/js/(web\\.assets_common/|website\\.assets_frontend/))\\;confidence:50", + "script": "/web/js/(?:web\\.assets_common/|website\\.assets_frontend/))\\;confidence:25", + "html": "]* href=[^>]+/web/css/(?:web\\.assets_common/|website\\.assets_frontend/)\\;confidence:25", "website": "odoo.com" }, "OWL Carousel": {