Skip to content

Commit

Permalink
Regex syntax: escape literal \.
Browse files Browse the repository at this point in the history
  • Loading branch information
katef committed Mar 13, 2024
1 parent 0daaf74 commit d46617d
Show file tree
Hide file tree
Showing 10 changed files with 350 additions and 350 deletions.
4 changes: 2 additions & 2 deletions regexes/bots.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1610,7 +1610,7 @@
category: 'Feed Reader'
url: 'https://theoldreader.com'

- regex: 'Trackable/0.1'
- regex: 'Trackable/0\.1'
name: 'Chartable'
category: 'Site Monitor'
url: 'https://help.chartable.com/article/34-what-is-the-trackable-analytics-prefix'
Expand Down Expand Up @@ -4311,7 +4311,7 @@
name: 'Plesk International GmbH'
url: 'https://www.plesk.com/'

- regex: 'Who.is'
- regex: 'Who\.is'
name: 'Who.is Bot'
category: 'Crawler'
url: 'https://who.is/'
Expand Down
24 changes: 12 additions & 12 deletions regexes/client/browsers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@
default: 'Blink'

# APN Browser
- regex: 'Safari/537.36 (?:Browser|Navegador)'
- regex: 'Safari/537\.36 (?:Browser|Navegador)'
name: 'APN Browser'
version: ''
engine:
Expand Down Expand Up @@ -930,7 +930,7 @@
version: '$1'
engine:
default: 'Blink'
- regex: 'com.tcl.browser'
- regex: 'com\.tcl\.browser'
name: 'BrowseHere'
version: '$1'
engine:
Expand Down Expand Up @@ -1216,7 +1216,7 @@
version: '$1'

# Delta Browser (https://play.google.com/store/apps/details?id=com.airfind.deltabrowser)
- regex: '(?:com.airfind.deltabrowser|AirSearch)(?:/(\d+[\.\d]+))?'
- regex: '(?:com\.airfind\.deltabrowser|AirSearch)(?:/(\d+[\.\d]+))?'
name: 'Delta Browser'
version: '$1'
engine:
Expand Down Expand Up @@ -1533,7 +1533,7 @@
- regex: 'QIHU 360[ES]E|QihooBrowserHD/(\d+[.\d]+)'
name: '360 Secure Browser'
version: '$1'
- regex: 'Chrome.+Safari/537.36/(\d+[.\d]+)$'
- regex: 'Chrome.+Safari/537\.36/(\d+[.\d]+)$'
name: '360 Secure Browser'
version: '$1'

Expand Down Expand Up @@ -2043,14 +2043,14 @@
default: 'Presto'
versions:
15: 'Blink'
- regex: '(?:Opera|OPR)[/ ](?:9.80.*Version/)?(\d+\.[\.\d]+) .*Edition Next'
- regex: '(?:Opera|OPR)[/ ](?:9\.80.*Version/)?(\d+\.[\.\d]+) .*Edition Next'
name: 'Opera Next'
version: '$1'
engine:
default: 'Presto'
versions:
15: 'Blink'
- regex: '(?:Opera[/ ]?|OPR[/ ])(?:9.80.*Version/)?(\d+[\.\d]+)'
- regex: '(?:Opera[/ ]?|OPR[/ ])(?:9\.80.*Version/)?(\d+[\.\d]+)'
name: 'Opera'
version: '$1'
engine:
Expand Down Expand Up @@ -2321,7 +2321,7 @@
- regex: '(?:SFB(?:rowser)?)/(\d+[\.\d]+)'
name: 'Super Fast Browser'
version: '$1'
- regex: 'com.browser.tssomas(?:/(\d+[\.\d]+))?'
- regex: 'com\.browser\.tssomas(?:/(\d+[\.\d]+))?'
name: 'Super Fast Browser'
version: '$1'

Expand Down Expand Up @@ -2501,7 +2501,7 @@
version: '$1'

#Openwave Mobile Browser
- regex: 'UP.Browser(?:/(\d+[\.\d]+))?'
- regex: 'UP\.Browser(?:/(\d+[\.\d]+))?'
name: 'Openwave Mobile Browser'
version: '$1'
- regex: 'Openwave(?:/(\d+[\.\d]+))?'
Expand Down Expand Up @@ -2909,22 +2909,22 @@
version: '$1'
engine:
default: 'Trident'
- regex: 'MSIE.*Trident/4.0'
- regex: 'MSIE.*Trident/4\.0'
name: 'Internet Explorer'
version: '8.0'
engine:
default: 'Trident'
- regex: 'MSIE.*Trident/5.0'
- regex: 'MSIE.*Trident/5\.0'
name: 'Internet Explorer'
version: '9.0'
engine:
default: 'Trident'
- regex: 'MSIE.*Trident/6.0'
- regex: 'MSIE.*Trident/6\.0'
name: 'Internet Explorer'
version: '10.0'
engine:
default: 'Trident'
- regex: 'Trident/[78].0'
- regex: 'Trident/[78]\.0'
name: 'Internet Explorer'
version: '11.0'
engine:
Expand Down
8 changes: 4 additions & 4 deletions regexes/client/libraries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@
version: '$1'
url: 'https://hc.apache.org/httpclient-3.x'

- regex: 'WinHttp.WinHttpRequest.+([\.\d]+)'
- regex: 'WinHttp\.WinHttpRequest.+([\.\d]+)'
name: 'WinHttp WinHttpRequest'
version: '$1'

Expand Down Expand Up @@ -557,12 +557,12 @@
version: '$1'
url: 'https://bitbucket.org/mailchimp/mandrill-api-php/src/master/'

- regex: 'babashka.http-client(?:/(\d+[\.\d]+))?'
- regex: 'babashka\.http-client(?:/(\d+[\.\d]+))?'
name: 'Babashka HTTP Client'
version: '$1'
url: 'https://github.com/babashka/http-client'

- regex: 'http.rb(?:/(\d+[\.\d]+))?'
- regex: 'http\.rb(?:/(\d+[\.\d]+))?'
name: 'http.rb'
version: '$1'
url: 'https://github.com/httprb/http'
Expand All @@ -577,7 +577,7 @@
version: ''
url: 'https://www.cakephp.org/'

- regex: 'request.js'
- regex: 'request\.js'
name: 'request'
version: ''
url: 'https://github.com/request/request'
Expand Down
2 changes: 1 addition & 1 deletion regexes/client/mediaplayers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@
version: '$1'

# Xtream Player (https://play.google.com/store/apps/details?id=com.devcoder.iptvxtreamplayer)
- regex: 'com.devcoder.iptvxtreamplayer'
- regex: 'com\.devcoder\.iptvxtreamplayer'
name: 'Xtream Player'
version: ''

Expand Down
Loading

0 comments on commit d46617d

Please sign in to comment.