Why not to add dots to your regexp? For example, [\w\d\-\.]+ ?

On Jul 9, 3:36 pm, Dids <didierblanch...@gmail.com> wrote:
> Hi,
>
> I'm struggling to get the regex right in my urls.py file to match a
> url with a dot inside it. (think ip address).
>
> for exmaple :
>          http://servername/Url.With.Dot
>
> I'm not even sure it can be done so before I loose the rest of my hair
> on it, I thought I'd better ask.
>
> Anyone of you had come across this before?
>
> Regards,
> Dids,
--~--~---------~--~----~------------~-------~--~----~
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 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to