From 190a897cef7bdd5775914d8c6eac58a31117699f Mon Sep 17 00:00:00 2001 From: Jared Van Valkengoed <86180097+MarketingPip@users.noreply.github.com> Date: Mon, 7 Oct 2024 02:33:51 -0400 Subject: [PATCH] Updated ctree.js :inbox_tray: --- src/ctree.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ctree.js b/src/ctree.js index 61843be..c9bc6ff 100644 --- a/src/ctree.js +++ b/src/ctree.js @@ -165,7 +165,7 @@ g/g=g=g=g=g=g=g=g=g=g=g=g=g=g=g=g=g=g\\ * @returns {string} The string with colors applied to digits. */ function applyColorsToLights(input) { - const regex = /(\d+)/g; // Matches one or more digits followed by 'O' + const regex = /(\d+)O?/g; // Matches one or more digits followed by optional 'O' return input.replace(regex, (match) => generateColor("O")); }