Stone [S], on Thursday, March 10, 2005 at 12:51 (-0800) wrote the
following:

>> yes, and for complexity:
>> 
>> $field =~ /^([1-9]\d?)\.{2}\1$/;

S> I know you said that's untested, but I don't think it's correct.

yes, I'm sorry for that, should be this correct:

$field =~ /^(?:([1-9]\d?)\.){2}\1$/;

untested too :)


-- 

 ...m8s, cu l8r, Brano.

[Virus related taglines.]



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to