removed multiline flag

This commit is contained in:
Miodec 2023-01-24 02:53:23 +01:00
parent 80a675ab64
commit 40298d7276

View file

@ -997,7 +997,7 @@ export async function init(): Promise<void> {
TestWords.setHasTab(true);
}
const te = randomWord.replace(/\n/g, "\n ").replace(/ $/gm, "");
const te = randomWord.replace(/\n/g, "\n ").replace(/ $/g, "");
if (/ +/.test(te)) {
const randomList = te.split(" ");