Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Motorolla g phones #486

Open
sss13579 opened this issue Aug 20, 2020 · 0 comments
Open

Motorolla g phones #486

sss13579 opened this issue Aug 20, 2020 · 0 comments

Comments

@sss13579
Copy link

User agent "Dalvik/2.1.0 (Linux; U; Android 10; moto g(8) power Build/QPE30.79-124)"
gives "moto g(8" model

I suggest split regex
Android \d+?(?:\.\d+|)(?:\.\d+|); ([^;]+?)(?: Build|\))
to 2:

  - regex: 'Android \d+?(?:\.\d+|)(?:\.\d+|); ([^;]+?) Build'
    brand_replacement: 'Generic_Android'
    model_replacement: '$1'
  - regex: 'Android \d+?(?:\.\d+|)(?:\.\d+|); ([^;]+?)\)'
    brand_replacement: 'Generic_Android'
    model_replacement: '$1'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant