mirror of
https://github.com/azahar-emu/azahar.git
synced 2026-06-06 02:33:44 -04:00
Fix regex in PR verification
This commit is contained in:
parent
0c478d7614
commit
3e27010c7b
1 changed files with 1 additions and 1 deletions
|
|
@ -39,7 +39,7 @@ jobs:
|
||||||
const displayName = (user.name || '').toLowerCase();
|
const displayName = (user.name || '').toLowerCase();
|
||||||
|
|
||||||
// Make comment body lowercase and split words
|
// 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.
|
// Check that the user verified themselves by writing a song about the NES and the SNES.
|
||||||
const verified =
|
const verified =
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue