Hi,
Isn't the following code supposed to return ('1994')?
>>> re.search('(\d{4})?', '4 1994').groups()
(None,)
Thanks,
Ray
--
http://mail.python.org/mailman/listinfo/python-list
Hi,
Isn't the following code supposed to return ('1994')?
>>> re.search('(\d{4})?', '4 1994').groups()
(None,)
Thanks,
Ray
--
http://mail.python.org/mailman/listinfo/python-list