[thelist] regex help - password pattern - javascript

VOLKAN ÖZÇELİK volkan.ozcelik at gmail.com
Tue Sep 27 09:52:36 CDT 2005


>
> 1xxxxxxx1 = 1x and x1
> xx1xx1xx   = x1 and x1
> xxxx1xxx = x1 and 1x
> 11xxxxxx =  [nada]1 and 1x
>
> It's an interesting puzzle. I'll keep playing with it.
>

So a ridicilously complex regular expression that is the combination
of smaller expressions OR 'ed together
will definetely match. Actually 28 sub items OR'ed will do  ( C(8,2) = 28 )

It might be simplified further, may be.

So theoretically speaking, it's not impossible,

But is it feasible, it's another questin :)

Cheers,
Volkan.


More information about the thelist mailing list