Hi! Is it possible to "automagically" coerce the named groups to python types? e.g.:
>>> type(re.match('(?P<x>\d*)', '123').groupdict()['x'])
<type 'str'>
But what I'm looking forward is for the type to be 'int'.
Cheers!
Hugo Ferreira
--
http://mail.python.org/mailman/listinfo/python-list
