>- see footer for list info -< .* is zero or more .+ is at least one
Well I think that's the case -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Adrian Lynch Sent: 23 February 2005 14:30 To: Coldfusion Development Subject: RE: [CF-Dev] CFINPUT Using Regex Ignoring Required Flag >- see footer for list info -< No, it's not, sorry about that :OP Ermmmmm, not sure what is! Oh look, there's RegEx in Ten minutes, what a piece of luck :OD I can't see a single symbol for an empty string, but maybe ^$ would work (^$|(^[_a-z0-9-]+(\.[_a-z0-9-]+)[EMAIL PROTECTED](\.[a-z0-9-]+)*\.(([a-z]{2,3 })|( aero|coop|info|museum|name))$)) Ade -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Mike Connolly Sent: 23 February 2005 14:23 To: Coldfusion Development Subject: RE: [CF-Dev] CFINPUT Using Regex Ignoring Required Flag >- see footer for list info -< Thx Stephen and Adrian for clearing up this issue, I suspected amending the regex to be Empty or Valid Email format would be the way forward. Duncan thx for the suggestion on putting validation on submission side of form, but in the context of the application this isn't appropriate. Adrian your regex amend you suggested: (""|(^[_a-z0-9-]+(\.[_a-z0-9-]+)[EMAIL PROTECTED](\.[a-z0-9-]+)*\.(([a-z]{2,3 })|( aero|coop|info|museum|name))$)) This doesn't appear to be working? I admit I'm not up on regex and I looked up the email regex above. Is "" the regex for identifying an empty string? -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 266.4.0 - Release Date: 22/02/2005 _______________________________________________ For details on ALL mailing lists and for joining or leaving lists, go to http://list.cfdeveloper.co.uk/mailman/listinfo -- CFDeveloper Sponsors:- >- Hosting provided by www.cfmxhosting.co.uk -< >- Forum provided by www.fusetalk.com -< >- DHTML Menus provided by www.APYCOM.com -< >- Lists hosted by www.Gradwell.com -< >- CFdeveloper is run by Russ Michaels, feel free to volunteer your help -< _______________________________________________ For details on ALL mailing lists and for joining or leaving lists, go to http://list.cfdeveloper.co.uk/mailman/listinfo -- CFDeveloper Sponsors:- >- Hosting provided by www.cfmxhosting.co.uk -< >- Forum provided by www.fusetalk.com -< >- DHTML Menus provided by www.APYCOM.com -< >- Lists hosted by www.Gradwell.com -< >- CFdeveloper is run by Russ Michaels, feel free to volunteer your help -<
