On Thu, 13 Dec 2001 18:10:26 -0500, [EMAIL PROTECTED] (Ryan Fischer)
wrote:

> This should do it I think:
> 
> /[a-zA-Z]/==3&&/[0-9]/==2&&/^.{5,}$/;

Pattern match in scalar context returns true or false, so the maximum
number is 1. You'll never get 3 out of a pattern match in scalar context
(and == forces scalar context).

Cheers,
Philip

Reply via email to