maybe you have clean your cache browser
--- En date de : Dim 7.10.12, stoupa91devel [via Struts]
a écrit :
De: stoupa91devel [via Struts]
Objet: Re: Email validation regex - client vs. server
À: "stanilas"
Date: Dimanche 7 octobre 2012, 13h20
On 10/07/2012 02:27 AM, Luk
On 10/07/2012 02:27 AM, Lukasz Lenart wrote:
2012/10/6 :
Hi all,
I'm using @EmailValidator annotation to check an email address.
The Struts2 documentation http://struts.apache.org/2.x/docs/email-validator.
html(http://struts.apache.org/2.x/docs/email-validator.html) mentions that
following reg
2012/10/6 :
> Hi all,
>
> I'm using @EmailValidator annotation to check an email address.
> The Struts2 documentation http://struts.apache.org/2.x/docs/email-validator.
> html(http://struts.apache.org/2.x/docs/email-validator.html) mentions that
> following regular expression is being used to chec
The Struts has built-in e-mail validation, which can
be found in the commons-validator.jar.
--- Bart Busschots <[EMAIL PROTECTED]> wrote:
> Hi,
>
> Your regular expression on the mask would seem to be
> problem. I presume
> you want it to match words that contain no = rather
> than what you ha
Hi,
Your regular expression on the mask would seem to be problem. I presume
you want it to match words that contain no = rather than what you have
at the moment which forces ALL letters to be = which I'm sure doesn't work.
The RE you need is:
^[^=]+$
HTH, Bart.
marisol wrote:
Can anybody
Marisol Opreni wrote:
> This doesn't work... Any ideas? THANKS!
> [EMAIL PROTECTED]
>
Have you googled for "email regex" or used regexes before?
Here you've validating for a single character (and possibly incorrectly
at that, but I don't really remember the ORO regexes; is . a sp
o: Re: email validation
Bart Busschots wrote:
> If you go the first route you'll have to write a regular expression
> for an entire email address
*shudder*
|^[a-zA-Z]([.]?([[:alnum:]_-]+)*)?@([[:alnum:]\-_]+\.)+[a-zA-Z]{2,4}$
|is sort of right, except I'd be nervous about the {2
Bart Busschots wrote:
> If you go the first route you'll have to write a regular expression
> for an entire email address
*shudder*
|^[a-zA-Z]([.]?([[:alnum:]_-]+)*)?@([[:alnum:]\-_]+\.)+[a-zA-Z]{2,4}$
|is sort of right, except I'd be nervous about the {2,4} for domains
since there's stuff like
Mensaje original-
De: Bart Busschots [mailto:[EMAIL PROTECTED]
Enviado el: Miércoles, 26 de Abril de 2006 12:19 p.m.
Para: Struts Users Mailing List
Asunto: Re: email validation
Hi,
As far as I'm aware, according to the RFCs, '=' is not valid in email
addresses. If you do want
My reading of the RFC (a while ago, I can't quote) is that the local part of the
name (the bit before the @) is not to be validated by intermediate hosts and can
contain more or less anything, although whitespace is not recommended.
> > An email can only have " . ", " - ", " _ ", " @ " characters.
12:19 p.m.
Para: Struts Users Mailing List
Asunto: Re: email validation
Hi,
As far as I'm aware, according to the RFCs, '=' is not valid in email
addresses. If you do want to allow these technically illegal characters
into your email addresses then your best bet would be to use
Hi,
As far as I'm aware, according to the RFCs, '=' is not valid in email
addresses. If you do want to allow these technically illegal characters
into your email addresses then your best bet would be to use the mask
validation and specify your own regular expression for what you consider
to b
The simplest way could be to use a mask in addition to the email
validation.
Harsh.
-Original Message-
From: Marisol Opreni [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 26, 2006 10:13 AM
To: 'Struts Users Mailing List'
Subject: email validation
Hi!
I'm using validating email addres
Yes, I also later found it mentioned on the Struts wiki that you can upgrade
to the latest version of Validator. I had just assumed that the latest
Struts also contained the latest Validator without checking it out. (You
know what they say when you assume)
I did bring in the latest Validator 1.3
On 4/6/06, Jeff Deskins <[EMAIL PROTECTED]> wrote:
> A user kept getting an email validation error when entering his email
> address (ex: [EMAIL PROTECTED]) on one of our sites that uses Struts.
> Apparently, the Struts email validation doesn't like the 4 character domain
> qualifier (.info in this
Jeff Deskins wrote:
A user kept getting an email validation error when entering his email
address (ex: [EMAIL PROTECTED]) on one of our sites that uses Struts.
Apparently, the Struts email validation doesn't like the 4 character domain
qualifier (.info in this case - I believe there may be others
Users Mailing List
Subject: RE: Email Validation
Try this instead,
/^(([^<>()[\]\\.,;:[EMAIL PROTECTED]"]+(\.[^<>()[\]\\.,;:[EMAIL
PROTECTED]"]+)*)|(\".+\"))@((\[[0-9]{1
,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,})
)$/
-Richa
gt; wrote:
> look like it accepts some invalid email address eg.
> [EMAIL PROTECTED],[EMAIL PROTECTED]
>
> -Original Message-
> From: Joe Hertz [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, April 13, 2004 2:12 PM
> To: 'Struts Users Mailing List'
> Subjec
look like it accepts some invalid email address eg. [EMAIL PROTECTED],[EMAIL PROTECTED]
-Original Message-
From: Joe Hertz [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 13, 2004 2:12 PM
To: 'Struts Users Mailing List'
Subject: RE: Email Validation
Whoops. Should have rea
ent: Tuesday, April 13, 2004 2:04 PM
> To: 'Struts Users Mailing List'
> Subject: RE: Email Validation
>
>
> Why not use the built in email validator??
>
> In your validation.xml:
>
> depends=email
>
>
>
> > -Original Message-
&
Why not use the built in email validator??
In your validation.xml:
depends=email
> -Original Message-
> From: Ramadoss Chinnakuzhandai [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, April 13, 2004 12:55 PM
> To: [EMAIL PROTECTED]
> Subject: Email Validation
>
>
> Hi,
> I'm usi
21 matches
Mail list logo