From 20f28937ea9d44a96a64c1a3a46d05391957a7e3 Mon Sep 17 00:00:00 2001 From: n4n5 <56606507+Its-Just-Nans@users.noreply.github.com> Date: Thu, 22 Feb 2024 17:09:32 +0100 Subject: [PATCH] Update TH_Tokenized.cpp --- src/TypeHandlers/TH_Tokenized.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/TypeHandlers/TH_Tokenized.cpp b/src/TypeHandlers/TH_Tokenized.cpp index a8ac3dc..8462de7 100644 --- a/src/TypeHandlers/TH_Tokenized.cpp +++ b/src/TypeHandlers/TH_Tokenized.cpp @@ -29,7 +29,7 @@ namespace tivars uint8_t lengthOfLongestTokenName; std::vector firstByteOfTwoByteTokens; const uint16_t squishedASMTokens[] = { 0xBB6D, 0xEF69, 0xEF7B }; // 83+/84+, 84+CSE, CE - const std::regex toPrettifyRX(R"(\[?\|([a-zA-Z]+)\]?)"); + const std::regex toPrettifyRX(R"(\[?\|?([a-zA-Z]+)\]?)"); } /* TODO: handle TI-Innovator Send( exception for in-strings tokenization (=> not shortest tokens) */