Re: Validate String w/required period

2003-10-07 Thread Rob Dixon
Dan Muey wrote: > > [EMAIL PROTECTED] wrote: > > > > I'm trying to validate if a string contains \w and required > atleas one > > period (.) > > By \w do you mean just whitespace or '\\w'? Isn't \w a-zA-Z0-9_ ?? And whitespace \s ?? Yes. Getting muddled up for some reason - thanks Dan. At least

RE: Validate String w/required period

2003-10-07 Thread Dan Muey
> -Original Message- > From: Rob Dixon [mailto:[EMAIL PROTECTED] > Sent: Friday, October 03, 2003 4:19 AM > To: [EMAIL PROTECTED] > Subject: Re: Validate String w/required period > > > [EMAIL PROTECTED] wrote: > > > > I'm trying to vali

Re: Validate String w/required period

2003-10-03 Thread Rob Dixon
[EMAIL PROTECTED] wrote: > > I'm trying to validate if a string contains \w and required atleas one > period (.) By \w do you mean just whitespace or '\\w'? > This one check but does not require a period. Can someone change > it please? > > sub isValidDomain { return shift =~ /^[\w\.]{3,}$/ } -

Validate String w/required period

2003-10-02 Thread perl
I'm trying to validate if a string contains \w and required atleas one period (.) This one check but does not require a period. Can someone change it please? sub isValidDomain { return shift =~ /^[\w\.]{3,}$/ } thanks, -rkl -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,