From 3e27010c7b68651498f76396d3b29476260368f0 Mon Sep 17 00:00:00 2001 From: PabloMK7 Date: Mon, 9 Feb 2026 23:30:15 +0100 Subject: [PATCH] Fix regex in PR verification --- .github/workflows/first_time_contributor_reopen.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/first_time_contributor_reopen.yml b/.github/workflows/first_time_contributor_reopen.yml index 094ca3cca..e8c7eea15 100644 --- a/.github/workflows/first_time_contributor_reopen.yml +++ b/.github/workflows/first_time_contributor_reopen.yml @@ -39,7 +39,7 @@ jobs: const displayName = (user.name || '').toLowerCase(); // Make comment body lowercase and split words - const body = comment.body.toLowerCase().trim().replace(/[^\p{L}\p{N}_-\s]/gu, '').split(/\s+/); + const body = comment.body.toLowerCase().trim().replace(/[^a-z0-9_\-\s]/g, '').split(/\s+/); // Check that the user verified themselves by writing a song about the NES and the SNES. const verified =