For a quick answer: (?P<blah>xxx)
means: "match xxx, and store it as a value named blah in the result". This lets the regex machinery build a set of name/value pairs suitable for use as arguments to a view function. --Ned. james_027 wrote: > hi kenneth, > > thanks a lot, i think should be looking at official python doc more > than the dive into python. > > cheers, > james > > On Jul 17, 12:47 pm, Kenneth Gonsalves <[EMAIL PROTECTED]> wrote: > >> On 17-Jul-07, at 9:36 AM, james_027 wrote: >> >> >>> Yes I am looking for the explanation of ?P<poll_id> syntax, is this >>> something related to python's regex or django's own regex. >>> >> python >> >> -- >> >> regards >> kghttp://lawgon.livejournal.comhttp://nrcfosshelpline.in/web/ >> > > > > > > > -- Ned Batchelder, http://nedbatchelder.com --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---