RE: More Password Validation

2004-01-26 Thread Adrian Lynch
Careful, it's a rolling banner ad, he might buy the wrong book!

 
:O)

 
Ade

-Original Message-
From: John Beynon [mailto:[EMAIL PROTECTED]
Sent: 26 January 2004 15:09
To: CF-Talk
Subject: RE: More Password Validation

Or buy the book mentioned right down at the bottom of this email... :)

-Original Message-
From: John Stanley [mailto:[EMAIL PROTECTED] 
Sent: 26 January 2004 15:10
To: CF-Talk
Subject: RE: More Password Validation

There is stuff in the manual about all of this.

-Original Message-
From: Stuart Kidd [mailto:[EMAIL PROTECTED]
Sent: Monday, January 26, 2004 10:09 AM
To: CF-Talk
Subject: RE: More Password Validation

Hi Pascal, that works a treat.  But what is regexp?  And what does the
^[[: bit mean for further use? Is there stuff in the manual about that?

-Original Message-
From: Pascal Peters [mailto:[EMAIL PROTECTED] 
Sent: 26 January 2004 14:59
To: CF-Talk
Subject: RE: More Password Validation

Use regexp


OK

NOT OK
 

Means : password can only contain alpha-numeric characters and has to be
6 to 10 characters long.

Pascal

> -Original Message-
> From: Stuart Kidd [mailto:[EMAIL PROTECTED] 
> Sent: maandag 26 januari 2004 15:52
> To: CF-Talk
> Subject: More Password Validation
> 
> Hi guys,
>  
> I'm also trying to check my password only contains certain 
> characters i.e. only a-z and 0-9.
>  
> 
> ='a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,0,1,2,3,
> 4,5,6,7,8,
> 9'>
>  
> I've made a list of characters I'd like to check but am 
> trying to work out how to use maybe the CONTAINS function.
>  
> 
>  
> Thanks,
>  
> Stuart
> 
> 
>
  _ 
  _ 
  _
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: More Password Validation

2004-01-26 Thread Pascal Peters
Regexp (regular _expression_) is pattern matching. In CF the regexp
functions start with RE.

This regexp:
^ beginning of string
[ start character set
[:alnum:] alpha-numeric character class 
] end character set
{6,10} repeat character set 6 to 10 times
$ end of string

There is some stuff in the CF help. I also have a ppt of a session I
thought at DEVCON2002 on CF & regexp. If you want it, you can email me
off-list

Pascal

> -Original Message-
> From: Stuart Kidd [mailto:[EMAIL PROTECTED] 
> Sent: maandag 26 januari 2004 16:09
> To: CF-Talk
> Subject: RE: More Password Validation
> 
> Hi Pascal, that works a treat.  But what is regexp?  And what does the
> ^[[: bit mean for further use? Is there stuff in the manual 
> about that?
>  
> -Original Message-
> From: Pascal Peters [mailto:[EMAIL PROTECTED]
> Sent: 26 January 2004 14:59
> To: CF-Talk
> Subject: RE: More Password Validation
>  
> Use regexp
> 
> 
> OK
> 
> NOT OK
>  
> 
> Means : password can only contain alpha-numeric characters 
> and has to be
> 6 to 10 characters long.
> 
> Pascal
> 
> > -Original Message-
> > From: Stuart Kidd [mailto:[EMAIL PROTECTED]
> > Sent: maandag 26 januari 2004 15:52
> > To: CF-Talk
> > Subject: More Password Validation
> > 
> > Hi guys,
> >  
> > I'm also trying to check my password only contains certain 
> characters 
> > i.e. only a-z and 0-9.
> >  
> > 
> > ='a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,0,1,2,3,
> > 4,5,6,7,8,
> > 9'>
> >  
> > I've made a list of characters I'd like to check but am 
> trying to work 
> > out how to use maybe the CONTAINS function.
> >  
> > 
> >  
> > Thanks,
> >  
> > Stuart
> > 
> > 
> >
>   _  
> 
> 
>
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: More Password Validation

2004-01-26 Thread John Beynon
Or buy the book mentioned right down at the bottom of this email... :)

-Original Message-
From: John Stanley [mailto:[EMAIL PROTECTED] 
Sent: 26 January 2004 15:10
To: CF-Talk
Subject: RE: More Password Validation

There is stuff in the manual about all of this.

-Original Message-
From: Stuart Kidd [mailto:[EMAIL PROTECTED]
Sent: Monday, January 26, 2004 10:09 AM
To: CF-Talk
Subject: RE: More Password Validation

Hi Pascal, that works a treat.  But what is regexp?  And what does the
^[[: bit mean for further use? Is there stuff in the manual about that?

-Original Message-
From: Pascal Peters [mailto:[EMAIL PROTECTED] 
Sent: 26 January 2004 14:59
To: CF-Talk
Subject: RE: More Password Validation

Use regexp


OK

NOT OK
 

Means : password can only contain alpha-numeric characters and has to be
6 to 10 characters long.

Pascal

> -Original Message-
> From: Stuart Kidd [mailto:[EMAIL PROTECTED] 
> Sent: maandag 26 januari 2004 15:52
> To: CF-Talk
> Subject: More Password Validation
> 
> Hi guys,
>  
> I'm also trying to check my password only contains certain 
> characters i.e. only a-z and 0-9.
>  
> 
> ='a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,0,1,2,3,
> 4,5,6,7,8,
> 9'>
>  
> I've made a list of characters I'd like to check but am 
> trying to work out how to use maybe the CONTAINS function.
>  
> 
>  
> Thanks,
>  
> Stuart
> 
> 
>
  _ 
  _
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: More Password Validation

2004-01-26 Thread John Stanley
There is stuff in the manual about all of this.

-Original Message-
From: Stuart Kidd [mailto:[EMAIL PROTECTED]
Sent: Monday, January 26, 2004 10:09 AM
To: CF-Talk
Subject: RE: More Password Validation

Hi Pascal, that works a treat.  But what is regexp?  And what does the
^[[: bit mean for further use? Is there stuff in the manual about that?

-Original Message-
From: Pascal Peters [mailto:[EMAIL PROTECTED] 
Sent: 26 January 2004 14:59
To: CF-Talk
Subject: RE: More Password Validation

Use regexp


OK

NOT OK
 

Means : password can only contain alpha-numeric characters and has to be
6 to 10 characters long.

Pascal

> -Original Message-
> From: Stuart Kidd [mailto:[EMAIL PROTECTED] 
> Sent: maandag 26 januari 2004 15:52
> To: CF-Talk
> Subject: More Password Validation
> 
> Hi guys,
>  
> I'm also trying to check my password only contains certain 
> characters i.e. only a-z and 0-9.
>  
> 
> ='a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,0,1,2,3,
> 4,5,6,7,8,
> 9'>
>  
> I've made a list of characters I'd like to check but am 
> trying to work out how to use maybe the CONTAINS function.
>  
> 
>  
> Thanks,
>  
> Stuart
> 
> 
>
  _ 
  _
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: More Password Validation

2004-01-26 Thread Stuart Kidd
Hi Pascal, that works a treat.  But what is regexp?  And what does the
^[[: bit mean for further use? Is there stuff in the manual about that?

 
-Original Message-
From: Pascal Peters [mailto:[EMAIL PROTECTED] 
Sent: 26 January 2004 14:59
To: CF-Talk
Subject: RE: More Password Validation

 
Use regexp


OK

NOT OK
 

Means : password can only contain alpha-numeric characters and has to be
6 to 10 characters long.

Pascal

> -Original Message-
> From: Stuart Kidd [mailto:[EMAIL PROTECTED] 
> Sent: maandag 26 januari 2004 15:52
> To: CF-Talk
> Subject: More Password Validation
> 
> Hi guys,
>  
> I'm also trying to check my password only contains certain 
> characters i.e. only a-z and 0-9.
>  
> 
> ='a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,0,1,2,3,
> 4,5,6,7,8,
> 9'>
>  
> I've made a list of characters I'd like to check but am 
> trying to work out how to use maybe the CONTAINS function.
>  
> 
>  
> Thanks,
>  
> Stuart
> 
> 
>
  _
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: More Password Validation

2004-01-26 Thread Pascal Peters
Use regexp


	OK

	NOT OK
 

Means : password can only contain alpha-numeric characters and has to be
6 to 10 characters long.

Pascal

> -Original Message-
> From: Stuart Kidd [mailto:[EMAIL PROTECTED] 
> Sent: maandag 26 januari 2004 15:52
> To: CF-Talk
> Subject: More Password Validation
> 
> Hi guys,
>  
> I'm also trying to check my password only contains certain 
> characters i.e. only a-z and 0-9.
>  
> 
> ='a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,0,1,2,3,
> 4,5,6,7,8,
> 9'>
>  
> I've made a list of characters I'd like to check but am 
> trying to work out how to use maybe the CONTAINS function.
>  
> 
>  
> Thanks,
>  
> Stuart
> 
> 
>
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]