yzalis/UAParser — pull request #5 by ruimarinho (2013-09-13 15:39:38+00:00)
Title: Browserscope yml support

I have added support for the popular and more robust Browserscope's [user agent YAML list](https://github.com/tobie/ua-parser/blob/master/regexes.yaml). The original YAML syntax definition is still supported.

I have made some manual changes which I believe are preferred over these new regexes:

* When parsing operating system, all `Windows` variants are treated as a single family (`Windows`) with different versions (Vista, 7, 8, etc.), instead of naming the family `Windows `.
* `Firefox` alpha versions are considered to belong to the `Firefox` family instead of their own `Firefox Alpha` family.
* All `device_replacement` of Browsercope's YAML were converted to their `constructor`, `model` and `type` when applicable, since they are much more fine grained.

Some important changes:

* `Internet Explorer` family was renamed to `IE` and `Mac OS` to `Mac OS X`to follow Browsercope's conventions.
* `Mobile Safari` is used when it's detected, instead of just being detected as `Safari`.
* `Windows ME` is correctly detected instead of being listed as `Windows 98`.