From 43b0ee79d6a247c804528d8025956eac5912f3c8 Mon Sep 17 00:00:00 2001 From: Faisal Salman Date: Sat, 12 Dec 2015 14:43:16 +0700 Subject: [PATCH] Seems to fix the issue for specific UA found in #159 --- src/ua-parser.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ua-parser.js b/src/ua-parser.js index ccc62f3..6f719c8 100644 --- a/src/ua-parser.js +++ b/src/ua-parser.js @@ -731,7 +731,7 @@ /\s([frentopc-]{0,4}bsd|dragonfly)\s?([\w\.]+)*/i // FreeBSD/NetBSD/OpenBSD/PC-BSD/DragonFly ], [NAME, VERSION],[ - /(ip[honead]+)(?:.*os\s*([\w]+)*\slike\smac|;\sopera)/i // iOS + /(ip[honead]+)(?:.*os\s([\w]+)*\slike\smac|;\sopera)/i // iOS ], [[NAME, 'iOS'], [VERSION, /_/g, '.']], [ /(mac\sos\sx)\s?([\w\s\.]+\w)*/i,