We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b998672 commit f189236Copy full SHA for f189236
src/input.validator.coffee
@@ -33,7 +33,7 @@ class @InputValidator
33
number: /^\d*$/
34
tel: /^[0-9/\-\+\s\(\)]*$/
35
# coffeelint: disable
36
- email: /^\s*([\w!#\$%&\'\*\+\-\/=\?\^`\{\|\}_~]+[\w\.!#\$%&\'\*\+\-\/=\?\^`\{\|\}_~]+[\w!#\$%&\'\*\+\-\/=\?\^`\{\|\}_~]+)@([\w0-9\-]{2,63}\.[\w]+)\s*$/
+ email: /^\s*([\w!#\$%&\'\*\+\-\/=\?\^`\{\|\}_~]+[\w\.!#\$%&\'\*\+\-\/=\?\^`\{\|\}_~]*[\w!#\$%&\'\*\+\-\/=\?\^`\{\|\}_~]+)@([\w0-9\-\.]{2,63}\.[\w]+)\s*$/
37
# coffeelint: enable
38
39
rules:
0 commit comments