Skip to content

Commit e0c0eb8

Browse files
committed
standard
1 parent 6e4faaf commit e0c0eb8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/stats.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ var peerId = Buffer.from('-WW0091-4ea5886ce160')
88
var unknownPeerId = Buffer.from('01234567890123456789')
99

1010
function parseHtml (html) {
11-
var extractValue = new RegExp('[^v^h](\\d+)')
11+
var extractValue = /[^v^h](\d+)/
1212
var array = html.replace('torrents', '\n').split('\n').filter(function (line) {
1313
return line && line.trim().length > 0
1414
}).map(function (line) {

0 commit comments

Comments
 (0)