From 5da0137c919488840320707b6ac9ec657780cd08 Mon Sep 17 00:00:00 2001 From: jvoisin Date: Sat, 10 Mar 2018 05:29:30 +0100 Subject: [PATCH] Improve semantic-ui detection (#2153) - Simplify the regexps - Add a way to detect the version - Remove the `ui` pattern, since it was triggering a lot of false-positives - http -> https This can be checked [here](https://git.libskia.so/) --- src/apps.json | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/apps.json b/src/apps.json index 26f51c311..d6b798950 100644 --- a/src/apps.json +++ b/src/apps.json @@ -8419,12 +8419,11 @@ 18 ], "html": [ - "(?:
]+\">)\\;confidence:30", - "(?:]+semantic(?:\\.css|\\.min\\.css)\">)" + "]+semantic(?:\\.min)\\.css\"" ], "icon": "Semantic-ui.png", - "script": "(?:semantic(?:\\.js|\\.min\\.js))", - "website": "http://semantic-ui.com" + "script": "/semantic(?:-([\\d.]+))?(?:\\.min)?\\.js\\;version:\\1", + "website": "https://semantic-ui.com" }, "Sencha Touch": { "cats": [