This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author mrabarnett
Recipients MizardX, ezio.melotti, moreati, mrabarnett, serhiy.storchaka, timehorse
Date 2014-08-01.11:38:46
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1406893126.44.0.289883148651.issue9529@psf.upfronthosting.co.za>
In-reply-to
Content
Match objects have a .groups method:

>>> import re
>>> m = re.match(r'(\w+):(\w+)', 'qwerty:asdfgh')
>>> m.groups()
('qwerty', 'asdfgh')
>>> k, v = m.groups()
>>> k
'qwerty'
>>> v
'asdfgh'
History
Date User Action Args
2014-08-01 11:38:46mrabarnettsetrecipients: + mrabarnett, timehorse, ezio.melotti, moreati, MizardX, serhiy.storchaka
2014-08-01 11:38:46mrabarnettsetmessageid: <1406893126.44.0.289883148651.issue9529@psf.upfronthosting.co.za>
2014-08-01 11:38:46mrabarnettlinkissue9529 messages
2014-08-01 11:38:46mrabarnettcreate