What does (?P<name>) pattern syntax do?
ben+python at benfinney.id.au
Tue Nov 11 00:19:56 CET 2014
satishmlmlml at gmail.com writes:
> What does ?P and <part1> match in the following piece of code?
Learn about Python's regular expression features from the documentation
Experiment with regular expressions using online tools such as
\ “From the moment I picked your book up until I laid it down I |
`\ was convulsed with laughter. Someday I intend reading it.” |
_o__) —Groucho Marx |
More information about the Python-list