mirror of
https://github.com/lancedikson/bowser
synced 2026-03-02 03:40:27 +00:00
Update the regex for custom browsers
This commit is contained in:
@@ -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),
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user