Skip to content

Commit 0e222fc

Browse files
committed
Add support for Evernote
1 parent 6a0ecc9 commit 0e222fc

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

regexes.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -892,6 +892,10 @@ user_agent_parsers:
892892
- regex: 'compatible; monitis'
893893
family_replacement: 'Monitis'
894894

895+
# Evernote
896+
- regex: '(Evernote)/(\d+)\.(\d+)\.(\d+)'
897+
family_replacement: 'Evernote'
898+
895899
#### END MAIN CASES ####
896900

897901
#### SPECIAL CASES ####

tests/test_ua.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8765,6 +8765,12 @@ test_cases:
87658765
minor:
87668766
patch:
87678767

8768+
- user_agent_string: 'Evernote/10.8.38 (com.yinxiang.iPhone; build:380507; iOS 15.5.0) Alamofire/4.9.1'
8769+
family: 'Evernote'
8770+
major: '10'
8771+
minor: '8'
8772+
patch: '38'
8773+
87688774
- user_agent_string: 'Mozilla/5.0 (iPhone; CPU iPhone OS 11_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E302 Pandora/1902.1'
87698775
family: 'Pandora'
87708776
major: '1902'

0 commit comments

Comments
 (0)