From 96b3a6112d5fadc9a26a30ea8de0db32744bf931 Mon Sep 17 00:00:00 2001 From: Tad Marshall Date: Fri, 15 Feb 2013 08:15:40 -0500 Subject: SERVER-8217 Fix regex for timestamp --- jstests/auth/log_user_basic.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jstests/auth/log_user_basic.js b/jstests/auth/log_user_basic.js index 9372e384e4c..554a5214289 100644 --- a/jstests/auth/log_user_basic.js +++ b/jstests/auth/log_user_basic.js @@ -16,7 +16,7 @@ * } */ var parseLog = function(line) { - var THREAD_ID_PATTERN = / [12]?\d:\d\d:\d\d\.\d\d\d \[(.+)\] /; + var THREAD_ID_PATTERN = / [01]?\d:\d\d:\d\d\.\d\d\d \[(.+)\] /; var ID_USER_PATTERN = new RegExp(THREAD_ID_PATTERN.source + 'user:([^ ]*) '); var res = THREAD_ID_PATTERN.exec(line); -- cgit v1.2.1