All files / app/customer validationPatterns.ts

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4    10x  
// NOTE: This is a legacy regex used to create accounts, more flexible than the current used one
// we need to keep this regex for login validation as accounts might have been created using this regex
export const EMAIL_REGEXP = /^[a-z0-9!#$%&'*+\/=?^_`{|}~.-]+@[a-z0-9]([a-z0-9-]*[a-z0-9])?(\.[a-z0-9]([a-z0-9-]*[a-z0-9])?)*$/i;