Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Why this parse device Mac and PC as 'Other'? #3

Closed
GovindMalviya opened this issue Jan 3, 2015 · 2 comments
Closed

Why this parse device Mac and PC as 'Other'? #3

GovindMalviya opened this issue Jan 3, 2015 · 2 comments

Comments

@GovindMalviya
Copy link

I have this user agent string

Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/35.0.1916.153 Safari/537.36

this should be parsed device as 'Mac' and

Mozilla/5.0 (Windows NT 6.2; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/37.0.2062.120 Safari/537.36 OPR/24.0.1558.61

this should be parsed device as 'PC' but it parsing as 'Other'. Is it OK or bug? because I require device PC and Mac also.

@GovindMalviya
Copy link
Author

I edited regexes.yaml and parsed 'PC' and 'Mac'

@Ironholds
Copy link

Why should it parse the device as "Mac"? It's identifying the specific device, not the operating system.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants