regexes.device.mobiles.yml Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of device-detector Show documentation
Show all versions of device-detector Show documentation
The aim of this library is to fetch as much as possible information from a user-agent string.
# Ace or ACE France (www.acemobile.fr)
Ace:
regex: '(?:BUZZ [12]|BUZZ 2|CLEVER 1|URBAN 1(?: Pro)?)(?:[);/ ]|$)'
device: 'smartphone'
models:
- regex: 'BUZZ ([12]) Lite'
model: 'Buzz $1 Lite'
- regex: 'BUZZ ([12]) Plus'
model: 'Buzz $1 Plus'
- regex: 'BUZZ ([12])'
model: 'Buzz $1'
- regex: 'CLEVER 1'
model: 'Clever 1'
- regex: 'URBAN 1 Pro'
model: 'Urban 1 Pro'
- regex: 'URBAN 1'
model: 'Urban 1'
'Tunisie Telecom':
regex: 'StarTrail TT(?:[);/ ]|$)'
device: 'smartphone'
model: 'StarTrail by TT'
# SFR
SFR:
regex: 'StarShine|StarTrail|STARADDICT|StarText|StarNaute|StarXtrem|StarTab'
device: 'smartphone'
models:
- regex: 'StarXtrem II(?:[);/ ]|$)'
model: 'StarXtrem 2'
- regex: 'StarXtrem ?([3-6])(?:[);/ ]|$)'
model: 'StarXtrem $1'
- regex: 'StarXtrem(?:[);/ ]|$)'
model: 'StarXtrem' # ZTE
- regex: 'StarTrail III(?:[);/ ]|$)'
model: 'StarTrail 3'
- regex: 'StarTrail II(?:[);/ ]|$)'
model: 'StarTrail 2' # Huawei Ascend Y200
- regex: 'StarTrail[ _]?([1-9])[ _]([34])G(?:[);/ ]|$)' # ZTE
model: 'StarTrail $1 $2G'
- regex: 'StarTrail[ _]?([1-9])(?:[);/ ]|$)'
model: 'StarTrail $1'
- regex: 'StarTrail(?:[);/ ]|$)'
model: 'StarTrail' # ZTE
- regex: 'StarShine II(?:[);/ ]|$)'
model: 'StarShine 2' # ZTE
- regex: 'StarShine(?:[);/ ]|$)'
model: 'StarShine' # Huawei U8180
- regex: 'STARADDICT 4(?:[);/ ]|$)'
model: 'Staraddict 4'
- regex: 'STARADDICT III(?:[);/ ]|$)'
model: 'Staraddict 3' # Coolpad 8861U
- regex: 'STARADDICT II Plus(?:[);/ ]|$)'
model: 'Staraddict 2 Plus' # ZTE Grand X
- regex: 'STARADDICT II(?:[);/ ]|$)'
model: 'Staraddict 2' # Alcatel One Touch 995
- regex: 'STARADDICT(?:[);/ ]|$)'
model: 'Staraddict' # ZTE
- regex: 'StarText II(?:[);/ ]|$)'
model: 'StarText 2' # ZTE
- regex: 'StarText(?:[);/ ]|$)'
model: 'StarText' # ZTE
- regex: 'StarNaute II(?:[);/ ]|$)'
model: 'StarNaute 2' # ZTE
- regex: 'STARNAUTE ?4(?:[);/ ]|$)'
model: 'StarNaute 4'
- regex: 'StarNaute(?:[);/ ]|$)'
model: 'StarNaute' # ZTE Amigo
- regex: 'StarTab'
model: 'StarTab'
device: 'tablet'
- regex: '((?:StarShine|StarTrail|STARADDICT|StarText|StarNaute|StarXtrem)[^;/]*) Build'
model: '$1'
# Adronix
Adronix:
regex: 'Adronix[ _](MT[0-9]+)(?:[);/ ]|$)'
device: 'tablet'
model: '$1'
# HTC (htc.com)
HTC:
regex: 'HTC|Sprint (?:APA|ATP)|ADR(?!910L)[a-z0-9]+|NexusHD2|Amaze[ _]4G(?:[);/ ]|$)|(Desire|Sensation|Evo ?3D|IncredibleS|Wildfire|Butterfly)[ _]?([^;/)]+)(?: Build|\))|(Amaze[ _]4G|(?