diff --git a/lib/ua-device.js b/lib/ua-device.js index 5ef5d93..fb5e2c2 100755 --- a/lib/ua-device.js +++ b/lib/ua-device.js @@ -514,7 +514,7 @@ module.exports = function (ua) { /** * Baidu HD */ - else if (match = /baiduhd ([\w.]+)/i.exec(ua)) { + else if (match = /baiduhd(?: |\/)([\w.]+)/i.exec(ua)) { uaData.browser.name = 'Baidu HD'; uaData.browser.version = { original: match[1]