Hi all,

I'm trying to create a regex to ensure a minimum password length.

I'm trying this:

$regex= '^.{4,}$'

That work fine exept for, at least, the equal signal (=)

For example, if i try 'my=test", it returns false. If i try 'myte=st',
that works.

If i change 4 for 2 in regex, then the first example works (my=test)

Look like the repetition part doesn't work at all with equals...

Any idea about that problem? Any solution?

Thanks in advance

Alfonso.


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


Reply via email to