>
> I have the following which is supposed to return true if
> string contains 2 or more numbers - can anyone see what I'm
> missing here (it always returns false).
>
> if( not reFindNoCase("([0-9]){2,}", "k7p2oog"){
> return true;
> } else {
> return false;
> }
Surely if you "REFind" 2 numbers in a row, you want ot return true, not
false!
Take out the NOT and it may work!
Paul
--
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]