You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@syncope.apache.org by "Francesco Chicchiriccò (JIRA)" <ji...@apache.org> on 2013/04/02 17:05:15 UTC
[jira] [Assigned] (SYNCOPE-348) Email address validator regexp
[ https://issues.apache.org/jira/browse/SYNCOPE-348?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Francesco Chicchiriccò reassigned SYNCOPE-348:
----------------------------------------------
Assignee: Francesco Chicchiriccò
> Email address validator regexp
> ------------------------------
>
> Key: SYNCOPE-348
> URL: https://issues.apache.org/jira/browse/SYNCOPE-348
> Project: Syncope
> Issue Type: Improvement
> Affects Versions: 1.0.6, 1.0.7, 1.1.0
> Reporter: Riccardo Costa
> Assignee: Francesco Chicchiriccò
> Priority: Minor
> Fix For: 1.0.8, 1.1.0
>
>
> Improve email validator regular expression from
> private static final Pattern EMAIL_PATTERN = Pattern.compile("^[\\w\\-]([\\.\\w])+[\\w]+@([\\w\\-]+\\.)+[A-Z]{2,4}$", Pattern.CASE_INSENSITIVE);
> to
> private static final Pattern EMAIL_PATTERN = Pattern.compile("^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$", Pattern.CASE_INSENSITIVE);
> Riccardo
> http://syncope-dev.1063484.n5.nabble.com/Email-address-validator-td5713393.html
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira