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 =