ReDoS vulnerability in email regex

Code reviewMedium25 min

Your task

Review this JavaScript input-validation helper (Node.js).