Skip to content

Commit

Permalink
Merge pull request #1 from ua-parser/master
Browse files Browse the repository at this point in the history
Syncing
  • Loading branch information
gkalabin committed Oct 2, 2015
2 parents a98d919 + 68dd4a0 commit 12898ab
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion regexes.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ user_agent_parsers:
family_replacement: 'Firefox Mobile'
- regex: '(Fennec)/(\d+)\.(\d+)'
family_replacement: 'Firefox Mobile'
- regex: 'Mobile.*(Firefox)/(\d+)\.(\d+)'
- regex: '(?:Mobile|Tablet);.*(Firefox)/(\d+)\.(\d+)'
family_replacement: 'Firefox Mobile'
- regex: '(Namoroka|Shiretoko|Minefield)/(\d+)\.(\d+)\.(\d+(?:pre)?)'
family_replacement: 'Firefox ($1)'
Expand Down
5 changes: 5 additions & 0 deletions tests/test_ua.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6159,3 +6159,8 @@ test_cases:
minor: '0'
patch: '8'

- user_agent_string: 'Mozilla/5.0 (Android 5.0; Tablet; rv:41.0) Gecko/41.0 Firefox/41.0'
family: 'Firefox Mobile'
major: '41'
minor: '0'
patch:

0 comments on commit 12898ab

Please sign in to comment.