mirror of
https://github.com/faisalman/ua-parser-js.git
synced 2025-09-28 00:18:45 +03:00
Space char required before Windows version
This commit is contained in:
parent
8718f3bbdf
commit
4ef8a75d7d
@ -121,7 +121,7 @@ function uaparser(uastring){
|
|||||||
return regxMap(this.ua, [
|
return regxMap(this.ua, [
|
||||||
|
|
||||||
// Windows based
|
// Windows based
|
||||||
/(windows)\s?([\w\.\s]+)*/i, // Windows
|
/(windows)\s+([\w\.\s]+)*/i, // Windows
|
||||||
], ['name', ['version', /(nt\s[\d\.]+)/gi, winMap]], [
|
], ['name', ['version', /(nt\s[\d\.]+)/gi, winMap]], [
|
||||||
|
|
||||||
// Mobile/Embedded OS
|
// Mobile/Embedded OS
|
||||||
|
Loading…
x
Reference in New Issue
Block a user