mirror of
https://github.com/faisalman/ua-parser-js.git
synced 2025-09-27 16:08:47 +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, [
|
||||
|
||||
// Windows based
|
||||
/(windows)\s?([\w\.\s]+)*/i, // Windows
|
||||
/(windows)\s+([\w\.\s]+)*/i, // Windows
|
||||
], ['name', ['version', /(nt\s[\d\.]+)/gi, winMap]], [
|
||||
|
||||
// Mobile/Embedded OS
|
||||
|
Loading…
x
Reference in New Issue
Block a user