forked from remyLemeunier/UAParser
-
Notifications
You must be signed in to change notification settings - Fork 0
/
regexes.yml
167 lines (163 loc) · 5.67 KB
/
regexes.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
browser_parsers:
- regex: '(CriOS)/(\d+)\.(\d+)\.(\d+)'
family_replacement: Chrome
- regex: '(Opera)/9.80.*Version/(\d+)\.(\d+)(?:\.(\d+))?'
- regex: '(Opera)[/\s](\d+)\.(\d+)'
- regex: '(Firefox)/(\d+)\.(\d+)\.(\d+)'
- regex: '(Firefox)/(\d+)\.(\d+)'
- regex: '(Chrome)/(\d+)\.(\d+)\.(\d+)'
- regex: '(Version)/(\d+)\.(\d+)(?:\.(\d+))?.*Safari/'
family_replacement: Safari
- regex: '(Safari)/\d+'
- regex: '(MSIE) (\d+)\.(\d+)'
family_replacement: Internet Explorer
- regex: 'Trident/(.*); rv:(\d+)\.(\d+)'
family_replacement: Internet Explorer
- regex: '(konqueror)\/(\d+)\.(\d+)(?:\.(\d+))?'
rendering_engine_parsers:
- regex: 'rv\:([\w\.]+).*(Gecko)'
family_replacement: $2
version_replacement: $1
- regex: '(presto)\/([\w\.]+)'
- regex: '(webkit|trident)\/([\w\.]+)'
- regex: '(MSOffice 12)'
family_replacement: Microsoft Word
- regex: '(khtml|tasman|links)[/ ]([\w\.]+)?'
device_parsers:
- regex: '(RIM Tablet OS)'
constructor_replacement: 'BlackBerry'
type_replacement: tablet
- regex: '(Play[Bb]ook)'
constructor_replacement: 'BlackBerry'
type_replacement: tablet
- regex: '(Black[bB]erry)'
constructor_replacement: BlackBerry
mobile_replacement: true
- regex: '(iPad)'
constructor_replacement: Apple
model_replacement: $1
type_replacement: tablet
- regex: '(iPod)'
constructor_replacement: Apple
model_replacement: $1
type_replacement: mobile
- regex: '(iPhone)'
constructor_replacement: Apple
model_replacement: $1
type_replacement: mobile
- regex: '(lg)[e;\s-\/]+(\w+)*'
constructor_replacement: LG
model_replacement: $2
type_replacement: mobile
operating_system_parsers:
- regex: '(Symbian[ ]?os)/(\d+)\.(\d+)'
family_replacement: 'Symbian'
- regex: '(Symbian OS)'
family_replacement: 'Symbian'
- regex: '(Black[bB]erry).+Version/(\d+)\.(\d+)\.(\d+)'
family_replacement: 'BlackBerry OS'
- regex: '(Black[Bb]erry)[0-9a-z]+/(\d+)\.(\d+)\.(\d+)(?:\.(\d+))?'
family_replacement: 'BlackBerry OS'
- regex: '(Black[bB]erry)\s?(\d+)'
family_replacement: 'BlackBerry OS'
- regex: '(Android)[- ](\d+)\.(\d+)(?:[.\-]([a-z0-9]+))?'
- regex: '(CPU OS|iPhone OS) (\d+)_(\d+)(?:_(\d+))?'
family_replacement: iOS
- regex: '(XBLWP7)'
family_replacement: Windows Phone
major_replacement: 7
- regex: '(Windows NT 6\.2)'
family_replacement: Windows
major_replacement: 8
- regex: '(Windows NT 6\.1)'
family_replacement: Windows
major_replacement: 7
- regex: '(Windows (?:NT 5\.2|NT 5\.1))'
family_replacement: Windows
major_replacement: XP
- regex: '(Windows NT 6\.0)'
family_replacement: Windows
major_replacement: Vista
- regex: '(Windows NT 5\.0)'
family_replacement: Windows
major_replacement: 2000
- regex: '(Windows Phone) (\d+)\.(\d+)'
- regex: '(Windows Phone) OS (\d+)\.(\d+)'
- regex: '(Windows) (XP|98|95|CE)'
- regex: '(Win(98))'
family_replacement: Windows
- regex: '(Win(95))'
family_replacement: Windows
- regex: '(Mac OS X) (\d+)[_.](\d+)(?:[_.](\d+))?'
family_replacement: Mac OS
email_client_parsers:
- regex: '(Thunderbird)/(\d+)\.(\d+)(?:\.(\d+))?'
- regex: '(Lotus-Notes)/(\d+)\.(\d+)(?:\.(\d+))?'
family_replacement: Lotus Notes
- regex: '(Postbox)[/ ](\d+)\.(\d+)(?:\.(\d+))?'
- regex: '(Outlook-Express/7)'
family_replacement: Windows Live Mail
major_replacement: 2009
- regex: '(Outlook-Express)/(\d+)'
family_replacement: Outlook-Express
- regex: '(MSOffice 15|Outlook 15)'
family_replacement: Outlook
major_replacement: 2013
- regex: '(MSOffice 14|Outlook 14)'
family_replacement: Outlook
major_replacement: 2010
- regex: '(MSOffice 12)'
family_replacement: Outlook
major_replacement: 2007
- regex: '(MSOffice 11)'
family_replacement: Outlook
major_replacement: 2003
- regex: '(MSOffice 10)'
family_replacement: Outlook
major_replacement: XP
- regex: '(MSOffice 9)'
family_replacement: Outlook
major_replacement: 2000
- regex: '(MSOffice 8)'
family_replacement: Outlook
major_replacement: 97
- regex: '(MSOffice 7)'
family_replacement: Outlook
major_replacement: 95
- regex: '(Exchange|owa)'
family_replacement: Outlook
major_replacement: Web Access
type_replacement: webmail
- regex: '(yahoo)'
family_replacement: Yahoo!
type_replacement: webmail
- regex: '(live.com)'
family_replacement: Hotmail
type_replacement: webmail
- regex: '(me.com)'
family_replacement: MobileMe
type_replacement: webmail
- regex: '(aol.com)'
family_replacement: AOL
type_replacement: webmail
- regex: '(orange.fr)'
family_replacement: Orange
type_replacement: webmail
- regex: '(laposte.net)'
family_replacement: LaPoste
type_replacement: webmail
- regex: '(free.fr)'
family_replacement: Free
type_replacement: webmail
- regex: '(sfr.fr)'
family_replacement: SFR
type_replacement: webmail
- regex: '(via ggpht.com GoogleImageProxy)'
family_replacement: Gmail
type_replacement: webmail
- regex: 'Mozilla\/5\.0 \(Windows NT 10\.0; Win64; x64\) AppleWebKit\/537.36 \(KHTML, like Gecko\) Chrome\/42\.0\.2311\.135 Safari\/537.36 Edge\/12\.246 Mozilla\/5\.0'
family_replacement: Gmail
type_replacement: webmail
- regex: '(SeznamEmailProxy)'
family_replacement: Seznam
type_replacement: webmail