We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6e4faaf commit e0c0eb8Copy full SHA for e0c0eb8
test/stats.js
@@ -8,7 +8,7 @@ var peerId = Buffer.from('-WW0091-4ea5886ce160')
8
var unknownPeerId = Buffer.from('01234567890123456789')
9
10
function parseHtml (html) {
11
- var extractValue = new RegExp('[^v^h](\\d+)')
+ var extractValue = /[^v^h](\d+)/
12
var array = html.replace('torrents', '\n').split('\n').filter(function (line) {
13
return line && line.trim().length > 0
14
}).map(function (line) {
0 commit comments