From cfe2b493bb547d2623a9dea4e5e823e624989f89 Mon Sep 17 00:00:00 2001 From: Ricardo Rauber Pereira Date: Fri, 5 Apr 2019 18:33:15 +0100 Subject: [PATCH] Remove missing space at the end --- src/parser-browsers.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/parser-browsers.js b/src/parser-browsers.js index 507ef54..bc0c7f1 100644 --- a/src/parser-browsers.js +++ b/src/parser-browsers.js @@ -590,7 +590,7 @@ const browsersList = [ { test: [/.*/i], describe(ua) { - const regexp = ua.search("\\(") == -1 ? /^(.*)\/(.*) / : /^(.*)\/(.*)\((.*) / + const regexp = ua.search('\\(') === -1 ? /^(.*)\/(.*) / : /^(.*)\/(.*)[ \t]\((.*)/; return { name: Utils.getFirstMatch(regexp, ua), version: Utils.getSecondMatch(regexp, ua),