In the Django documentation, Where can I found URLS.PY Symbol explanations?

27 views
Skip to first unread message

Uzi Lumbroso

unread,
Jun 19, 2014, 6:26:27 PM6/19/14
to django...@googlegroups.com

?In the Django documentation, Where can I found URLS.PY Symbol  explanations (for example: (?P<searchString>[-\w]+)).  What is ... [-\w]+) matches

I couldn’t find it in the Django documentation. Thanks for the help

Mike Dewhirst

unread,
Jun 19, 2014, 6:47:27 PM6/19/14
to django...@googlegroups.com
On 20/06/2014 8:26 AM, Uzi Lumbroso wrote:
> ?In the Django documentation, Where can I found URLS.PY Symbol
> explanations (for example: (?P<searchString>[-\w]+)). What is
> ... [-\w]+) matches
>
> I couldn’t find it in the Django documentation. Thanks for the help

It is more or less plain Python rather than Django. Google for "python
regex" or "python regular expression"

Here's one which is easy to follow ...

http://www.diveintopython.net/regular_expressions/

Good luck

Mike

>
> --
> You received this message because you are subscribed to the Google
> Groups "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to django-users...@googlegroups.com
> <mailto:django-users...@googlegroups.com>.
> To post to this group, send email to django...@googlegroups.com
> <mailto:django...@googlegroups.com>.
> Visit this group at http://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/5920ca19-42e9-43c0-8b1b-b2b1bb2acea3%40googlegroups.com
> <https://groups.google.com/d/msgid/django-users/5920ca19-42e9-43c0-8b1b-b2b1bb2acea3%40googlegroups.com?utm_medium=email&utm_source=footer>.
> For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages