From 3ee14e9c86dd169ea24e1cb61455a4374c89786c Mon Sep 17 00:00:00 2001 From: Mark Ducommun Date: Tue, 16 Sep 2014 11:33:29 -0500 Subject: [PATCH] adds (-) sign to regex for time remaining --- trelloscrum.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/trelloscrum.js b/trelloscrum.js index b6abb16..4bdea08 100644 --- a/trelloscrum.js +++ b/trelloscrum.js @@ -59,7 +59,7 @@ refreshSettings(); // get the settings right away (may take a little bit if usin //internals var reg = /((?:^|\s))\((\x3f|\d*\.?\d+)(\))\s?/m, //parse regexp- accepts digits, decimals and '?', surrounded by () - regC = /((?:^|\s))\[(\x3f|\d*\.?\d+)(\])\s?/m, //parse regexp- accepts digits, decimals and '?', surrounded by [] + regC = /((?:^|\s))\[(\x3f|-?\d*\.?\d+)(\])\s?/m, //parse regexp- accepts digits, decimals and '?', surrounded by [] iconUrl, pointsDoneUrl, flameUrl, flame18Url, scrumLogoUrl, scrumLogo18Url;