Re: Confirmation...

2001-12-07 Thread _brian_d_foy
In article <01ad01c17ee7$dcbfff80$5960a9cb@nothing>, [EMAIL PROTECTED] (Leon) wrote: > This /([\d.]*)\/.*/g works irregardless whether your ip is 206.48.16.3/12345 > or src=206.48.16.3/12345 it doesn't work at all, actually. -- brian d foy <[EMAIL PROTECTED]> - Perl services for hire CGI Meta

Re: Confirmation...

2001-12-06 Thread Leon
- Original Message - From: "Messier, Jean-Francois" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; "Daniel Falkenberg" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Friday, December 07, 2001 12:06 AM Subject: RE: Confirmation... > I&

Re: Confirmation...

2001-12-06 Thread _brian_d_foy
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] (Jean-Francois Messier) wrote: > I'm a beginner in those regular expressions and s/// operations. How > can I extract only the digits and the periods (.) from a string ? I have > something like 206.48.16.3/12345. An IP address with a port

RE: Confirmation...

2001-12-06 Thread Ahmed Moustafa
r > Ottawa, CANADA > > -Original Message- > From: Jeff 'japhy' Pinyan [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, December 05, 2001 11:18 PM > To: Daniel Falkenberg > Cc: [EMAIL PROTECTED] > Subject: Re: Confirmation... > > > On Dec 6, Danie

Breakout of Ip Address ( was RE: Confirmation...)

2001-12-06 Thread Wagner-David
up to you. Assumes the search is being done on $_ Wags ;) -Original Message- From: Messier, Jean-Francois [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 06, 2001 08:07 To: '[EMAIL PROTECTED]'; Daniel Falkenberg Cc: [EMAIL PROTECTED] Subject: RE: Confirmation...

RE: Confirmation...

2001-12-06 Thread Messier, Jean-Francois
l Message- From: Jeff 'japhy' Pinyan [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 05, 2001 11:18 PM To: Daniel Falkenberg Cc: [EMAIL PROTECTED] Subject: Re: Confirmation... On Dec 6, Daniel Falkenberg said: >$string =~ s/[^a-zA-Z0-9]//g; > >I take it only allows $string

Re: Confirmation... but, what if....

2001-12-05 Thread Jeff 'japhy' Pinyan
On Dec 6, Daniel Falkenberg said: >What if $string does not meet the criteria in s/[^a-zA-Z0-9]+//g; can I >get a print statement to say... > >if ($string ne s/[^a-zA-Z0-9]+//g) { > print "$string does not meet our criteria...! Please try another >password\n"; >} You mean, "how can I see if a s

Re: Confirmation...

2001-12-05 Thread Jeff 'japhy' Pinyan
On Dec 6, Daniel Falkenberg said: >$string =~ s/[^a-zA-Z0-9]//g; > >I take it only allows $string to eq anthing in the charcter class of >a-z, A-Z and 0-9. I also take it that anything other than that will be >stripped out? Any other comments? Right. I'd write it as s/[^a-zA-Z0-9]+//g; fo