mirror of
https://github.com/faisalman/ua-parser-js.git
synced 2025-11-20 17:16:40 +03:00
Space char required before Windows version
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user