Improve PrestaShop detection

In the latest versions of PrestaShop the powered by link looks like this: <a class="_blank" href="http://www.prestashop.com" target="_blank">PrestaShop</a>, so the current RegExp fails!

This one is more generic: /Powered by <a\s+[^>]+>PrestaShop/
main
François-Marie de Jouvencel 11 years ago
parent 07f9215a6a
commit e79be64bc5

@ -2076,7 +2076,7 @@
"website": "www.prestashop.com",
"cats": [ 6 ],
"meta": { "generator": "PrestaShop" },
"html": "Powered by <a href=\"[^>]+PrestaShop",
"html": "Powered by <a\\s+[^>]+>PrestaShop",
"implies": "PHP"
},
"Prototype": {

Loading…
Cancel
Save