FIX: new wechat desktop's unsafe regex

This commit is contained in:
ruicong 2021-03-13 14:26:42 +08:00
parent cd1bfd87c5
commit 1cfe34f517

View File

@ -282,7 +282,7 @@
/(comodo_dragon)\/([\w\.]+)/i // Comodo Dragon /(comodo_dragon)\/([\w\.]+)/i // Comodo Dragon
], [[NAME, /_/g, ' '], VERSION], [ ], [[NAME, /_/g, ' '], VERSION], [
/((?:windowswechat)? qbcore)\/([\w\.]+)(?:.+windowswechat)?/i, // WeChat Desktop for Windows Built-in Browser /((?:windowswechat)? qbcore)\/([\w\.]+).*(?:windowswechat)?/i, // WeChat Desktop for Windows Built-in Browser
], [[NAME, 'WeChat(Win) Desktop'], VERSION], [ ], [[NAME, 'WeChat(Win) Desktop'], VERSION], [
/(micromessenger)\/([\w\.]+)/i // WeChat /(micromessenger)\/([\w\.]+)/i // WeChat