style: fix no-useless-escape — remove unnecessary backslashes in regex char classes

This commit is contained in:
2026-06-25 14:32:53 +01:00
parent 0dff41a4ee
commit 7abacbc2b4
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -800,7 +800,7 @@
let savingName = $state(false);
// Name validation (unicode letters, spaces, hyphen, apostrophe, dot)
const nameRegex = /^[\p{L}\p{M}\s\-'\.]+$/u;
const nameRegex = /^[\p{L}\p{M}\s-'.]+$/u;
function startEditFirstName() {
firstNameInput = userData?.firstName || '';