On 2/27/07, Giuseppe Franchi <[EMAIL PROTECTED]> wrote: > Hello everyone... again. :) > As i said, i need to pass in my URL a <code> variable, wich is the > result of a md5 digest. > (no private information... only a validation key).
An md5 hex digest is always 32 characters long, containing digits and letters A through F, so something like [a-fA-F0-9]{32} is about as exact a regex for matching it as you'll find. SHA1 has the same character range -- [a-fA-F0-9] -- but is forty characters long. -- "Bureaucrat Conrad, you are technically correct -- the best kind of correct." --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---