Skip to content

Commit

Permalink
fix #154 (Hopefully)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeftaei committed Jun 23, 2024
1 parent 752e33e commit 0d2cde0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/regex.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 0d2cde0

Please sign in to comment.