For example, I'm trying to match this user agent:
Mozilla/5.0 (iPhone; CPU iPhone OS 9_1 like Mac OS X) AppleWebKit/601.1.46 (KHTML, like Gecko) Version/9.0 Mobile/13B143 Safari/601.1
According to the user agent lookup on the website, this matches this browser name pattern:
mozilla/5.0*(iphone*cpu iphone os 9?1* like mac os x*)*applewebkit/*(*khtml, like gecko*)*version/9.0*safari/*
This pattern exists in browscap.csv (line 112601 in version 6011). But the same pattern doesn't exist in the equivalent browscap.xml file so my code fails to find a matching pattern.
The CSV file has 137403 entries (wc -l browscap.csv, minus header line) and the XML file has 51122 entries (grep -c \<browscapitem browscap.xml).
Is this a bug? Or am I misunderstanding how the XML file should be used, and should I start using the CSV file instead? I'm using Go (golang) so the INI file isn't as easy to work with.
Thanks & happy holidays,
Omer
--
You received this message because you are subscribed to the Google Groups "browscap" group.
To unsubscribe from this group and stop receiving emails from it, send an email to browscap+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/browscap/56be186e-a00f-448a-9e23-93cba737434e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to a topic in the Google Groups "browscap" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/browscap/x9pA5g38wt0/unsubscribe.
To unsubscribe from this group and all its topics, send an email to browscap+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/browscap/CAKnqCEZnOC9oHuGN98d2CK8g3dzsAVaHyBU--MU9SDVuW2vokQ%40mail.gmail.com.