I have the following regular expression (regex) in my urls.py and I\'d like to know what it means. Specifically the (?P portion o
urls.py
(?P
In pattern matching, Use this pattern for passing string
(?P[-\w]+)
This for interger value
(?P[0-9]+)