From 5c4e5e7b99f7b8fe49e6ad4c1f245c8695c55339 Mon Sep 17 00:00:00 2001 From: davidmoore1 Date: Fri, 19 Jan 2024 12:48:42 -0500 Subject: [PATCH] Eliminate new line changes --- src/lib/scripts/parsePhrase.ts | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/lib/scripts/parsePhrase.ts b/src/lib/scripts/parsePhrase.ts index 7994838b0..7a8de6852 100644 --- a/src/lib/scripts/parsePhrase.ts +++ b/src/lib/scripts/parsePhrase.ts @@ -10,7 +10,6 @@ export const parsePhrase = (inner: any, seprgx: RegExp) => { while (pos < len) { const c = inner.charAt(pos); phrase += c; - let foundPhraseEndChar = isPhraseEndingChar(c, seprgx); if (foundPhraseEndChar) { foundPhraseEndChar = !char_is_number_separator(inner, pos); @@ -88,7 +87,6 @@ export const parsePhrase = (inner: any, seprgx: RegExp) => { phrases.push(phrase); phrase = ''; } - pos++; } // If unterminated phrase present, add it to list @@ -148,7 +146,6 @@ function convertCharCodesToString(inputChars: string) { } return chars; } - const char_is_numeric = (c: string) => { return /^\d$/.test(c); };