Skip to content

Commit cdf2913

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

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-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: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1647,6 +1647,8 @@ test_cases:
16471647
patch:
16481648
patch_minor:
16491649

1650+
1651+
16501652
- user_agent_string: 'Dolphin 6.5.1 (iPad; iPhone OS 6.1.3; de_DE)'
16511653
family: 'Dolphin'
16521654
major: '6'
@@ -8765,6 +8767,12 @@ test_cases:
87658767
minor:
87668768
patch:
87678769

8770+
- user_agent_string: 'Evernote/10.8.38 (com.yinxiang.iPhone; build:380507; iOS 15.5.0) Alamofire/4.9.1'
8771+
family: 'Evernote'
8772+
major: '10'
8773+
minor: '8'
8774+
patch: '38'
8775+
87688776
- 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'
87698777
family: 'Pandora'
87708778
major: '1902'

0 commit comments

Comments
 (0)