diff --git a/src/parser-browsers.js b/src/parser-browsers.js index 5c1a867..aa76643 100644 --- a/src/parser-browsers.js +++ b/src/parser-browsers.js @@ -590,7 +590,10 @@ const browsersList = [ { test: [/.*/i], describe(ua) { - // Define the regexp depending if the ua has device specifications + /* Here we try to make sure that there are explicit details about the device + * in order to decide what regexp exactly we want to apply + * (as there is a specific decision based on that conclusion) + */ const regexpWithoutParenthesis = /^(.*)\/(.*) /; const regexpWithParenthesis = /^(.*)\/(.*)[ \t]\((.*)/; const hasDeviceSpec = ua.search('\\(') !== -1;