unless ((length($in{'password'}) >= 4) and (length($in{'password'}) <= 12) and ($in{'PASSWORD'} =~ /^([a-zA-Z]{2,}[0-9]{2,})+$/))
Can somone see what is wrong with the above code. The regex is not working correctly. It should require a minimum of two letters and two numbers be in 'password'.
Can somone see what is wrong with the above code. The regex is not working correctly. It should require a minimum of two letters and two numbers be in 'password'.