Package madrona :: Package common :: Package uaparser :: Module regexes
[hide private]

Module regexes

source code

Regexes.

Classes [hide private]
  _P
Variables [hide private]
  browser_slash_v123_names = 'Jasmine|ANTGalio|Midori|Fresco|Lob...
  browser_slash_v12_names = 'Bolt|Jasmine|Maxthon|Lynx|Arora|IBr...
  USER_AGENT_PARSERS = _P(r'^(Opera)/(\d+)\.(\d+) \(Nintendo Wii...
Variables Details [hide private]

browser_slash_v123_names

Value:
'Jasmine|ANTGalio|Midori|Fresco|Lobo|Maxthon|Lynx|OmniWeb|Dillo|Camino\
|' 'Demeter|Fluid|Fennec|Shiira|Sunrise|Chrome|Flock|Netscape|Lunascap\
e|' 'Epiphany|WebPilot|Vodafone|NetFront|Konqueror|SeaMonkey|Kazehakas\
e|' 'Vienna|Iceape|Iceweasel|IceWeasel|Iron|K-Meleon|Sleipnir|Galeon|'\
 'GranParadiso|Opera Mini|iCab|NetNewsWire|Iron|Iris'

browser_slash_v12_names

Value:
'Bolt|Jasmine|Maxthon|Lynx|Arora|IBrowse|Dillo|Camino|Shiira|Fennec|' \
'Phoenix|Chrome|Flock|Netscape|Lunascape|Epiphany|WebPilot|' 'Opera Mi\
ni|Opera|Vodafone|' 'NetFront|Konqueror|SeaMonkey|Kazehakase|Vienna|Ic\
eape|Iceweasel|IceWeasel|' 'Iron|K-Meleon|Sleipnir|Galeon|GranParadiso\
|' 'iCab|NetNewsWire|Iron|Space Bison|Stainless|Orca'

USER_AGENT_PARSERS

Value:
_P(r'^(Opera)/(\d+)\.(\d+) \(Nintendo Wii', family_replacement= 'Wii')\
, _P(r'(Namoroka|Shiretoko|Minefield)/(\d+)\.(\d+)\.(\d+(?:pre)?)', 'F\
irefox ($1)'), _P(r'(Namoroka|Shiretoko|Minefield)/(\d+)\.(\d+)([ab]\d\
+[a-z]*)?', 'Firefox ($1)'), _P(r'(SeaMonkey|Fennec|Camino)/(\d+)\.(\d\
+)([ab]?\d+[a-z]*)'), _P(r'(Flock)/(\d+)\.(\d+)(b\d+?)'), _P(r'(Fennec\
)/(\d+)\.(\d+)(pre)'), _P(r'(Navigator)/(\d+)\.(\d+)\.(\d+)', 'Netscap\
e'), _P(r'(Navigator)/(\d+)\.(\d+)([ab]\d+)', 'Netscape'), _P(r'(Netsc\
ape6)/(\d+)\.(\d+)\.(\d+)', 'Netscape'), _P(r'(MyIBrow)/(\d+)\.(\d+)',\
...