Re: Email validation regex - client vs. server

2012-10-07 Thread stanilas
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

Re: Email validation regex - client vs. server

2012-10-07 Thread Martin Uhlir
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

Re: Email validation regex - client vs. server

2012-10-06 Thread Lukasz Lenart
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

Re: Email validation doesn't work

2006-06-02 Thread Caroline Jen
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

Re: Email validation doesn't work

2006-06-02 Thread Bart Busschots
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

[OT] Re: email validation

2006-04-26 Thread Dave Newton
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

RE: email validation

2006-04-26 Thread Marisol Opreni
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

Re: email validation

2006-04-26 Thread Dave Newton
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

Re: email validation

2006-04-26 Thread Bart Busschots
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

Re: email validation

2006-04-26 Thread Brett Connor
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.

RE: email validation

2006-04-26 Thread Marisol Opreni
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

Re: email validation

2006-04-26 Thread Bart Busschots
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

RE: email validation

2006-04-26 Thread Chaudhary, Harsh
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

Re: Email Validation for .info Domain Qualifier

2006-04-12 Thread Jeff Deskins
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

Re: Email Validation for .info Domain Qualifier

2006-04-12 Thread Niall Pemberton
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

Re: Email Validation for .info Domain Qualifier

2006-04-09 Thread Laurie Harper
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

RE: Email Validation

2004-04-13 Thread Andrew Hill
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

RE: Email Validation

2004-04-13 Thread Richard Yee
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

RE: Email Validation

2004-04-13 Thread Ramadoss Chinnakuzhandai
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

RE: Email Validation

2004-04-13 Thread Joe Hertz
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- &

RE: Email Validation

2004-04-13 Thread Joe Hertz
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