From 55ea7ccf704806fee7b8bc3090206f385817690c Mon Sep 17 00:00:00 2001 From: Nathan Rajlich Date: Sat, 30 Mar 2013 13:35:36 -0700 Subject: [PATCH] repl: use more readable RegExp syntax for spaces This is just a cosmetic change really, nothing major. --- lib/repl.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/repl.js b/lib/repl.js index 522bfd7d5bd..84441ef130c 100644 --- a/lib/repl.js +++ b/lib/repl.js @@ -924,5 +924,5 @@ function isSyntaxError(e) { !e.match(/^SyntaxError: .*strict mode.*/i) && // JSON.parse() error !(e.match(/^SyntaxError: Unexpected (token .*|end of input)/) && - e.match(/\n at Object.parse \(native\)\n/)); + e.match(/\n {4}at Object.parse \(native\)\n/)); }