Skip to content

Commit

Permalink
fix: update regex to allow special and umlaut characters (#167)
Browse files Browse the repository at this point in the history
#164

---------

Co-authored-by: Karsten Thiems <[email protected]>
  • Loading branch information
JordanGerada3 and typecastcloud authored Aug 8, 2024
1 parent 88c74cf commit bf706f3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ const N = (tag, c, att) => {
return append(n, c)
}
const SEARCH_VALIDATION_REGEX =
/^[a-zA-Z0-9][a-zA-Z0-9 !#'$@&%()*+,\-_./:;=<>?[\]\\^]{0,255}$/
/^[a-zA-ZÀ-ÿŚął\d][a-zA-ZÀ-ÿŚął\d !#'$@&%()*+,\-_./:;=<>?[\]\\^]{0,255}$/

const remove = (n) => n.parentElement.removeChild(n)

Expand Down

0 comments on commit bf706f3

Please sign in to comment.