On Tue, Feb 18, 2003 at 12:36:45AM +0100, A. Pagaltzis wrote:
> Alternatively it can be done with negative lookaheads.
>
> print "ok" if /^(?![a-z0-9]+$)(?![A-Z0-9]+$)(?![a-zA-Z]+$)[\w-]{6,14}$/;Both "______" and "------" match the given regexp, but fail the stated requirements. Abigail
