ua-parser/uap-core — pull request #2 by commenthol (2014-03-06 08:28:41+00:00)
Title: brand-model parsing

For device parsing a better segmentation is being introduced for Android and other Devices.

To add information on "brand" and "model" two new types brand_replacement and model_replacement have been added to the device_parser in the regexes.yaml file.

To facilitate segmentation a multi replacement function for "family", "brand" and "model" is introduced to cope with user-agent-strings which are quite different from each other but specify the same device.
Now $1 ... $9 can be used to reference up to nine matchers.

For correct matching of Generic Feature-/ Smartphones and Spiders case insensitive matching using `regex_flag: 'i'` has been added.

Spiders can now be distinguished between Desktop/ Feature-/ Smartphone.