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
New in version 3.6.
(?P
Similar to regular parentheses, but the substring matched by the group is accessible via the symbolic group name name. Group names must be valid Python identifiers, and each group name must be defined only once within a regular expression. A symbolic group is also a numbered group, just as if the group were not named.
copy paste from Python3Regex