diff --git a/regexes.yaml b/regexes.yaml index d415c26a..435b2d5d 100644 --- a/regexes.yaml +++ b/regexes.yaml @@ -454,7 +454,7 @@ user_agent_parsers: v1_replacement: '2013' # Outlook 2016 - - regex: 'Microsoft Outlook (?:Mail )?16\.\d+\.\d+' + - regex: 'Microsoft Outlook (?:Mail )?16\.\d+\.\d+|MSOffice 16' family_replacement: 'Outlook' v1_replacement: '2016' diff --git a/tests/test_ua.yaml b/tests/test_ua.yaml index b91e732c..dd2df089 100644 --- a/tests/test_ua.yaml +++ b/tests/test_ua.yaml @@ -6903,6 +6903,12 @@ test_cases: minor: patch: + - user_agent_string: 'Mozilla/4.0 (compatible; ms-office; MSOffice 16)' + family: 'Outlook' + major: '2016' + minor: + patch: + - 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)' family: 'Windows Live Mail' major: