[Python-bugs-list] [ python-Bugs-801306 ] Bad RE in scanf example
SourceForge.net
noreply at sourceforge.net
Fri Sep 5 13:03:07 EDT 2003
Bugs item #801306, was opened at 2003-09-05 14:03
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=801306&group_id=5470
Category: Documentation
Group: Python 2.3
Status: Open
Resolution: None
Priority: 5
Submitted By: Jimm Domingo (jimm_domingo)
Assigned to: Nobody/Anonymous (nobody)
Summary: Bad RE in scanf example
Initial Comment:
In section 4.2.6 "Examples" of the Python Library
Reference, the regular expression for scanf format
tokens %e, %E, %f, %g does not allow an optional sign
in the exponent. The RE should be:
[-+]?(\d+(\.\d*)?|\d*\.\d+)([eE][-+]?\d+)?
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=801306&group_id=5470
More information about the Python-bugs-list
mailing list