From 35c6a68e5eb59b2679689bb98968d8cc70e58a04 Mon Sep 17 00:00:00 2001 From: Calvin Montgomery Date: Sun, 13 Jul 2014 22:14:37 -0700 Subject: [PATCH] Remove redundant RegExp constructor --- lib/get-info.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/get-info.js b/lib/get-info.js index 67435c43..e1ef5993 100644 --- a/lib/get-info.js +++ b/lib/get-info.js @@ -842,7 +842,7 @@ var Getters = { } /* Hack for only reading relevant video data */ - if (line.match(new RegExp(startReadingSentinel))) { + if (line.match(startReadingSentinel)) { startReading = true; }