> > if( not reFindNoCase("([0-9]){2,}", "k7p2oog"){
> 
> What you're doing there is looking for two numbers together.  
> For example "nisognrs34afd" would pass but "ad9gdag9mg4" wouldn't.
> 
> Try this instead:
> 
> [[:digit:]][^[:digit:]]*[[:digit:]]

I get soooo hacked off with developers who constantly use [[:digit:]]
instead of [0-9]

I MEAN WHY?

Which one is easier to understand, shorter to type and is the proper way
of doing it in most other regex books/manuals/websites?  [0-9]

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]

Reply via email to