lib/browser_sniffer/patterns.rb in browser_sniffer-1.0.12 vs lib/browser_sniffer/patterns.rb in browser_sniffer-1.0.13
- old
+ new
@@ -57,10 +57,10 @@
/(kindle)\/((\d+)?[\w\.]+)/i, # Kindle
/(lunascape|maxthon|netfront|jasmine|blazer)[\/\s]?((\d+)?[\w\.]+)*/i, # Lunascape/Maxthon/Netfront/Jasmine/Blazer
# Trident based
/(avant\s|iemobile|slim|baidu)(?:browser)?[\/\s]?((\d+)?[\w\.]*)/i # Avant/IEMobile/SlimBrowser/Baidu
], [:name, :version, :major], [
- /(?:ms|\()(ie)\s((\d+)?[\w\.]+)/i # Internet Explorer
+ /(?:ms|\()(ie)\s((\d+)[\w\.]+)/i # Internet Explorer
], [:name, :version, :major, [:type, :ie]], [
/Edge\/(\d+).\d+/i #Edge
], [:major, [:version, 10], [:name, 'Edge'], [:type, :edge]], [
/Mozilla\/5.0.*Windows NT 6\.\d.*Trident\/7\.\d.*rv:(\d+)\.\d*/i #IE11 on Win7
], [:major, [:version, 7], [:name, 'Internet Explorer'], [:type, :ie]], [