From 11d6f00bfb2c78a86fb9d297076182c3c7fec159 Mon Sep 17 00:00:00 2001 From: Brad Arant Date: Tue, 25 Nov 2025 15:28:31 -0800 Subject: [PATCH] Allow - to trigger the number check. --- ZString.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ZString.cpp b/ZString.cpp index e7034ab..cb0fc9e 100644 --- a/ZString.cpp +++ b/ZString.cpp @@ -373,6 +373,8 @@ namespace coreutils { } bool ZString::startsWithNumber() { + if(*cursor == '-') + return true; return ((*cursor >= '0') && (*cursor <= '9')); }