It works correctly as long as there are not at least 6 alphanumeric
characters side by side. Once there are 6 in a row, it accepts everything,
even when there are more than 20 characters entered. I'm trying to validate
a password, btw.
----- Original Message -----
From: "Ben Doom" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Friday, June 25, 2004 4:09 PM
Subject: Re: A little regexp help
> > characters long that contains _only_ letters and/or numbers. No special
> > characters at all. In the case of ^[a-zA-Z0-9]{6,20}$ it allows special
> > characters once it finds at least 6 letters and/or numbers. It's that
> > "only" part that is giving me trouble.
>
> Um. No, it shouldn't. I doesn't allow anything between the last
> character matched by the class and the end of the string.
>
> Are you actually seeing this behavior?
>
> --Ben
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

