fix the match group detection
Merge pull request #455 from floydsoft/patch-1

fix the match group detection
Merge github.com:tobie/ua-parser