> -----Original Message-----
> From: bob ackerman [mailto:[EMAIL PROTECTED]]
> 
> 
> 
> On Friday, May 17, 2002, at 09:40  AM, Batchelor, Scott wrote:
> 
> > /([^a-zA-Z])\1/
> 
> did you mean to be checking for repeating non-alpha characters?
> if you are testing with repeating alpha characters, that test 
> won't catch 
> it.
>
This is probably a bit more what you would be looking for if that was the
case.
 
if ( $p =~ /([:alpha])\1/) {

}

H


*************************************************************************************
COLT Telecommunications
Registered in England No. 2452736
Registered Office: Bishopsgate Court, 4 Norton Folgate, London E1 6DQ
Tel. +44 20 7390 3900

This message is subject to and does not create or vary any contractual
relationship between COLT Telecommunications, its subsidiaries or 
affiliates ("COLT") and you. Internet communications are not secure
and therefore COLT does not accept legal responsibility for the
contents of this message.  Any view or opinions expressed are those of
the author. The message is intended for the addressee only and its
contents and any attached files are strictly confidential. If you have
received it in error, please telephone the number above. Thank you.
*************************************************************************************


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to