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/)
main
jvoisin 7 years ago committed by Elbert Alias
parent c6cc1bfb7a
commit 5da0137c91

@ -8419,12 +8419,11 @@
18
],
"html": [
"(?:<div class=\"ui\\s[^>]+\">)\\;confidence:30",
"(?:<link[^>]+semantic(?:\\.css|\\.min\\.css)\">)"
"<link[^>]+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": [