Skip to content

Commit 2e28be1

Browse files
authored
Merge pull request #425 from AdamGen3/Outlook-2016-Refinement
MSOffice 16 User Agent #405
2 parents 7d5f5d9 + 8e74958 commit 2e28be1

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

regexes.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -454,7 +454,7 @@ user_agent_parsers:
454454
v1_replacement: '2013'
455455

456456
# Outlook 2016
457-
- regex: 'Microsoft Outlook (?:Mail )?16\.\d+\.\d+'
457+
- regex: 'Microsoft Outlook (?:Mail )?16\.\d+\.\d+|MSOffice 16'
458458
family_replacement: 'Outlook'
459459
v1_replacement: '2016'
460460

tests/test_ua.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6903,6 +6903,12 @@ test_cases:
69036903
minor:
69046904
patch:
69056905

6906+
- user_agent_string: 'Mozilla/4.0 (compatible; ms-office; MSOffice 16)'
6907+
family: 'Outlook'
6908+
major: '2016'
6909+
minor:
6910+
patch:
6911+
69066912
- user_agent_string: 'Outlook-Express/7.0 (MSIE 7.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; TmstmpExt)'
69076913
family: 'Windows Live Mail'
69086914
major:

0 commit comments

Comments
 (0)