From 3f1b9ce650d4fb2af2cdf9b0068cfe8d2775bc64 Mon Sep 17 00:00:00 2001 From: Josh Yudaken Date: Tue, 14 Mar 2017 08:59:23 -0700 Subject: [PATCH] Generalise monitor_regex --- lib/utils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/utils.js b/lib/utils.js index 84f0511969..52e58ecfa6 100644 --- a/lib/utils.js +++ b/lib/utils.js @@ -127,7 +127,7 @@ module.exports = { reply_to_object: replyToObject, print: print, err_code: /^([A-Z]+)\s+(.+)$/, - monitor_regex: /^[0-9]{10,11}\.[0-9]+ \[[0-9]{1,3} (.(?!\]))+.\]( ".+?")+$/, + monitor_regex: /^[0-9]{10,11}\.[0-9]+ \[[0-9]+ .+\]( ".+?")+$/, clone: convenienceClone, callback_or_emit: callbackOrEmit, reply_in_order: replyInOrder