flavia, I was wrong that is working, thanks.

On Oct 11, 11:07 am, Flavia Missi <flaviami...@gmail.com> wrote:
> Hi,
>
> You just need to add a "-" in your regex, like this:
>
> [.\w-]+
>
> Use this site to try your regex:http://regexpal.com/
>
> []'s
>
> On Tue, Oct 11, 2011 at 12:51 PM, django-mike1
> <support.desk....@gmail.com>wrote:
>
>
>
>
>
>
>
>
>
> > I am creating a Django Front end for a PDNS Server and having a
> > problem with my urls.py url matching.
>
> > This line
>
> > (r'^zones/(?P<domain>[.\w]+)/$', zones)
>
> > will match any url like /domain.com/ /domain.net/ domain.org/ etc.
> > just fine
>
> > what changes would I need to make to this line to also match domains
> > such as below?
>
> > 44.44.44.in-addr-arpa
>
> > 11.11.11.in-addr-arpa
>
> > thanks in advance
>
> > -mike
>
> > --
> > 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.
>
> --
> Flávia Missi
> @flaviamissi <http://twitter.com/flaviamissi>
> flaviamissi.com.brhttps://github.com/flaviamissi

-- 
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