Skip to content

Commit

Permalink
fix: remove unecessary char escaping
Browse files Browse the repository at this point in the history
  • Loading branch information
dangreen committed Dec 22, 2022
1 parent 1a998c4 commit adef242
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
[node]: https://img.shields.io/node/v/ua-regexes-lite.svg
[node-url]: https://nodejs.org

[build]: https://img.shields.io/github/actions/workflow/status/TrigenSoftware/ua-regexes-lite/CI.yml?branch=main
[build]: https://img.shields.io/github/actions/workflow/status/TrigenSoftware/ua-regexes-lite/ci.yml?branch=main
[build-url]: https://github.com/TrigenSoftware/ua-regexes-lite/actions

A lite useragent regexes collection.
Expand Down
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -174,14 +174,14 @@ export const regexes = [
]
},
{
regex: /Android:?[ \-/](\d+)(\.(\d+)|)(\.(\d+)|)/,
regex: /Android:?[ /-](\d+)(\.(\d+)|)(\.(\d+)|)/,
family: 'android'
},
/**
* Ignore IE Mobile 11
*/
{
regex: /Android:?[ \-/](\d+)(\.(\d+)|)(\.(\d+)|);(?! ARM; Trident)/,
regex: /Android:?[ /-](\d+)(\.(\d+)|)(\.(\d+)|);(?! ARM; Trident)/,
family: 'android',
version: [
4,
Expand Down

0 comments on commit adef242

Please sign in to comment.