From b7d40363518f8ce2be24b9f0c81767f61e769702 Mon Sep 17 00:00:00 2001 From: Caleb Fontenot Date: Fri, 31 Mar 2023 12:39:56 -0500 Subject: [PATCH] First working build:tm: --- main.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.ts b/main.ts index 291c8f0..fb38c43 100644 --- a/main.ts +++ b/main.ts @@ -80,7 +80,7 @@ function arrayRotate(arr, reverse, amount) { function matchAbbr(abbrTarget) { console.log("Looking for: " + abbrTarget); for (var abbr in abbreviationKey.target_phrases) { - if (abbreviationKey.target_phrases[abbr].test(abbrTarget)) { + if (abbreviationKey.target_phrases[abbr].hasExactString(abbrTarget)) { return abbr; } else { return "";