What does ?P and <part1> match in the following piece of code?

re.search('(?P<part1>\w*)/(?P<part2>\w*)', '...aaa/bbb/ccc]').groups()
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to