tobie/ua-parser — pull request #455 by floydsoft (2014-10-14 08:35:26+00:00)
Title: fix the match group detection

The match group count detection fails whenever there is no matched group since the `match.lastindex` is `None` actually, `None` can't be compared with `int`.