Made all ver capture groups optional

main
Rich Hall 3 years ago
parent 222d1ac644
commit fef9d6461c

@ -2435,11 +2435,11 @@
"low", "low",
"freemium" "freemium"
], ],
"scripts": "themes/astra.*\\.js\\?ver=([0-9.]+)\\;version:\\1", "scripts": "themes/astra\\S*\\.js(?:\\?ver=([0-9.]+))?\\;version:\\1",
"dom": { "dom": {
"link[href*='themes/astra']": { "link[href*='themes/astra']": {
"attributes": { "attributes": {
"href": "astra/.*\\.css\\?ver=([0-9.]+)\\;version:\\1" "href": "astra\\S*\\.css(?:\\?ver=([0-9.]+))?\\;version:\\1"
} }
}, },
"style[id*='astra-theme']": { "style[id*='astra-theme']": {
@ -4997,14 +4997,14 @@
"dom": { "dom": {
"link[id*='colormag']": { "link[id*='colormag']": {
"attributes": { "attributes": {
"href": "themes/colormag.*\\.css\\?ver=([0-9.]+)\\;version:\\1" "href": "themes/colormag\\S*\\.css(?:\\?ver=([0-9.]+))?\\;version:\\1"
} }
}, },
"body[class*='colormag-theme']": { "body[class*='colormag-theme']": {
"text": "" "text": ""
} }
}, },
"scripts": "themes/colormag.*\\.js\\?ver=([0-9.]+)\\;version:\\1", "scripts": "themes/colormag.*\\.js(?:\\?ver=([0-9.]+))?\\;version:\\1",
"requires": "WordPress", "requires": "WordPress",
"website": "https://themegrill.com/themes/colormag/" "website": "https://themegrill.com/themes/colormag/"
}, },
@ -8172,12 +8172,12 @@
"dom": { "dom": {
"link[id*='generatepress']": { "link[id*='generatepress']": {
"attributes": { "attributes": {
"href": "generatepress.*\\.css\\?ver=([0-9.]+)\\;version:\\1" "href": "generatepress\\S*\\.css(?:\\?ver=([0-9.]+))?\\;version:\\1"
} }
}, },
"link[id*='generate-style']": { "link[id*='generate-style']": {
"attributes": { "attributes": {
"href": "generatepress.*\\.css\\?ver=([0-9.]+)\\;version:\\1" "href": "generatepress\\S*\\.css(?:\\?ver=([0-9.]+))?\\;version:\\1"
} }
}, },
"body[class*='generatepress-theme']": { "body[class*='generatepress-theme']": {
@ -8185,7 +8185,7 @@
} }
}, },
"scripts": [ "scripts": [
"themes/generatepress.*\\.js\\?ver=([0-9.]+)\\;version:\\1" "themes/generatepress\\S*\\.js(?:\\?ver=([0-9.]+))?\\;version:\\1"
], ],
"requires": "WordPress", "requires": "WordPress",
"website": "https://generatepress.com/" "website": "https://generatepress.com/"
@ -9378,12 +9378,12 @@
"dom": { "dom": {
"link[id*='hello-elementor']": { "link[id*='hello-elementor']": {
"attributes": { "attributes": {
"href": "hello-elementor.*\\.css(?:\\?ver=([0-9.]+))\\;version:\\1" "href": "hello-elementor\\S*\\.css(?:\\?ver=([0-9.]+))?\\;version:\\1"
} }
}, },
"link[id*='elementor-hello']": { "link[id*='elementor-hello']": {
"attributes": { "attributes": {
"href": "elementor-hello.*\\.css(?:\\?ver=([0-9.]+))\\;version:\\1" "href": "elementor-hello\\S*\\.css(?:\\?ver=([0-9.]+))?\\;version:\\1"
} }
}, },
"script[id*='hello-elementor']": { "script[id*='hello-elementor']": {
@ -9457,14 +9457,14 @@
"dom": { "dom": {
"link[id*='hestia']": { "link[id*='hestia']": {
"attributes": { "attributes": {
"href": "hestia.*\\.css\\?ver=([0-9.]+)\\;version:\\1" "href": "hestia\\S*\\.css(?:\\?ver=([0-9.]+))?\\;version:\\1"
} }
}, },
"body[class*='hestia-theme']": { "body[class*='hestia-theme']": {
"text": "" "text": ""
} }
}, },
"scripts": "themes/hestia.*\\.js\\?ver=([0-9.]+)\\;version:\\1", "scripts": "themes/hestia.*\\.js(?:\\?ver=([0-9.]+))?\\;version:\\1",
"requires": "WordPress", "requires": "WordPress",
"website": "https://themeisle.com/themes/hestia/" "website": "https://themeisle.com/themes/hestia/"
}, },
@ -13927,14 +13927,14 @@
"dom": { "dom": {
"link[id*='neve-style']": { "link[id*='neve-style']": {
"attributes": { "attributes": {
"href": "neve.*\\.css\\?ver=([0-9.]+)\\;version:\\1" "href": "neve\\S*\\.css(?:\\?ver=([0-9.]+))?\\;version:\\1"
} }
}, },
"body[class*='neve-theme']": { "body[class*='neve-theme']": {
"text": "" "text": ""
} }
}, },
"scripts": "themes/neve.*\\.js\\?ver=([0-9.]+)\\;version:\\1", "scripts": "themes/neve\\S*\\.js(?:\\?ver=([0-9.]+))?\\;version:\\1",
"requires": "WordPress", "requires": "WordPress",
"website": "https://themeisle.com/themes/neve/" "website": "https://themeisle.com/themes/neve/"
}, },
@ -14227,14 +14227,14 @@
"dom": { "dom": {
"link[id*='oceanwp']": { "link[id*='oceanwp']": {
"attributes": { "attributes": {
"href": "oceanwp.*\\.css\\?ver=([0-9.]+)\\;version:\\1" "href": "oceanwp\\S*\\.css(?:\\?ver=([0-9.]+))?\\;version:\\1"
} }
}, },
"body[class*='oceanwp-theme']": { "body[class*='oceanwp-theme']": {
"text": "" "text": ""
} }
}, },
"scripts": "themes/oceanwp.*\\.js\\?ver=([0-9.]+)\\;version:\\1", "scripts": "themes/oceanwp\\S*\\.js(?:\\?ver=([0-9.]+))?\\;version:\\1",
"requires": "WordPress", "requires": "WordPress",
"website": "https://oceanwp.org" "website": "https://oceanwp.org"
}, },
@ -20666,14 +20666,14 @@
"dom": { "dom": {
"link[id*='sydney']": { "link[id*='sydney']": {
"attributes": { "attributes": {
"href": "sydney.*\\.css\\?ver=([0-9.]+)\\;version:\\1" "href": "sydney\\S*\\.css(?:\\?ver=([0-9.]+))?\\;version:\\1"
} }
}, },
"body[class*='sydney-theme']": { "body[class*='sydney-theme']": {
"text": "" "text": ""
} }
}, },
"scripts": "themes/sydney.*\\.js\\?ver=([0-9.]+)\\;version:\\1", "scripts": "themes/sydney\\S*\\.js(?:\\?ver=([0-9.]+))?\\;version:\\1",
"requires": "WordPress", "requires": "WordPress",
"website": "https://athemes.com/theme/sydney/" "website": "https://athemes.com/theme/sydney/"
}, },