From ab47264f46683e90fbe038d08aa101a02b11aca7 Mon Sep 17 00:00:00 2001 From: Yummy_Bacon5 <68166338+YummyBacon5@users.noreply.github.com> Date: Tue, 15 Oct 2024 10:56:15 +0100 Subject: [PATCH] Remove the global flag in `NOTE_ID_REGEX` Co-Authored-By: Luke Thomas <96008479+Zoobdude@users.noreply.github.com> --- packages/app-client/src/modules/notes/notes.constants.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/app-client/src/modules/notes/notes.constants.ts b/packages/app-client/src/modules/notes/notes.constants.ts index 4ed3f1d5..ecec20aa 100644 --- a/packages/app-client/src/modules/notes/notes.constants.ts +++ b/packages/app-client/src/modules/notes/notes.constants.ts @@ -1 +1 @@ -export const NOTE_ID_REGEX = /[0-7][0-9A-HJKMNP-TV-Z]{25}/gi; +export const NOTE_ID_REGEX = /[0-7][0-9A-HJKMNP-TV-Z]{25}/i;