From 0d2cde0736da7f26277f41fad5de34f5dc84db1a Mon Sep 17 00:00:00 2001 From: Jeft <67933106+Jeftaei@users.noreply.github.com> Date: Sat, 22 Jun 2024 21:34:02 -0500 Subject: [PATCH] fix #154 (Hopefully) --- src/regex.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/regex.ts b/src/regex.ts index b2ff98c..e7cd803 100644 --- a/src/regex.ts +++ b/src/regex.ts @@ -76,7 +76,7 @@ function trimArrows(string: string): string { return string.replace(/^<|>$/g, ""); } -const invalidPromptSearchRegex = /[^A-Z0-9'\-@.? ]/; +const invalidPromptSearchRegex = /[^A-Z0-9'\-@.? ]/i; /** * A regular expression used to determine if a search is regex or not.