Skip to content

Commit

Permalink
Eliminate new line changes
Browse files Browse the repository at this point in the history
  • Loading branch information
davidmoore1 committed Jan 19, 2024
1 parent f44a77a commit 5c4e5e7
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/lib/scripts/parsePhrase.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -88,7 +87,6 @@ export const parsePhrase = (inner: any, seprgx: RegExp) => {
phrases.push(phrase);
phrase = '';
}

pos++;
}
// If unterminated phrase present, add it to list
Expand Down Expand Up @@ -148,7 +146,6 @@ function convertCharCodesToString(inputChars: string) {
}
return chars;
}

const char_is_numeric = (c: string) => {
return /^\d$/.test(c);
};
Expand Down

0 comments on commit 5c4e5e7

Please sign in to comment.