Add capture groups for plugin version and (optionally) mode

main
Weston Ruter 6 years ago
parent 12234b397e
commit 9d53d13206
No known key found for this signature in database
GPG Key ID: EA2DF8EF632FBCAE

@ -125,7 +125,7 @@
"WordPress" "WordPress"
], ],
"meta": { "meta": {
"generator": "^AMP Plugin v\\d+\\.\\d+" "generator": "^AMP Plugin v(\\d+\\.\\d+.*?)(?:;\\s*mode=(\\w+))?$"
}, },
"website": "https://amp-wp.org" "website": "https://amp-wp.org"
}, },

Loading…
Cancel
Save