When using RegExp.prototype.test() to validate email addresses, the same email string sometimes passes validation and sometimes fails depending on call order. Tests are non-deterministic — running the
typescript regex javascript state testing 91 tokens