Skip to content

Commit adef242

Browse files
committed
fix: remove unecessary char escaping
1 parent 1a998c4 commit adef242

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
[node]: https://img.shields.io/node/v/ua-regexes-lite.svg
1111
[node-url]: https://nodejs.org
1212

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

1616
A lite useragent regexes collection.

index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -174,14 +174,14 @@ export const regexes = [
174174
]
175175
},
176176
{
177-
regex: /Android:?[ \-/](\d+)(\.(\d+)|)(\.(\d+)|)/,
177+
regex: /Android:?[ /-](\d+)(\.(\d+)|)(\.(\d+)|)/,
178178
family: 'android'
179179
},
180180
/**
181181
* Ignore IE Mobile 11
182182
*/
183183
{
184-
regex: /Android:?[ \-/](\d+)(\.(\d+)|)(\.(\d+)|);(?! ARM; Trident)/,
184+
regex: /Android:?[ /-](\d+)(\.(\d+)|)(\.(\d+)|);(?! ARM; Trident)/,
185185
family: 'android',
186186
version: [
187187
4,

0 commit comments

Comments
 (0)