1
0
mirror of https://github.com/lancedikson/bowser synced 2024-10-27 20:34:22 +00:00

Update the regex for custom browsers

This commit is contained in:
Ricardo Rauber Pereira 2019-04-05 17:43:04 +01:00
parent 28bff841b3
commit ba4783868d

View File

@ -591,8 +591,8 @@ const browsersList = [
test: [/.*/i], test: [/.*/i],
describe(ua) { describe(ua) {
return { return {
name: Utils.getFirstMatch(/^(.*)\/(.*) /, ua), name: Utils.getFirstMatch(/^(.*)\/(.*)\((.*) /, ua),
version: Utils.getSecondMatch(/^(.*)\/(.*) /, ua), version: Utils.getSecondMatch(/^(.*)\/(.*)\((.*) /, ua),
}; };
}, },
}, },