[Epydoc-commits] SF.net SVN: epydoc: [1429] trunk/epydoc/src/epydoc/apidoc.py
Brought to you by:
edloper
From: <ed...@us...> - 2007-02-03 03:51:07
|
Revision: 1429 http://svn.sourceforge.net/epydoc/?rev=1429&view=rev Author: edloper Date: 2007-02-02 19:51:05 -0800 (Fri, 02 Feb 2007) Log Message: ----------- - Relaxed the regular expression DottedName._IDENTIFIER_RE, to allow for names like "script-00_info_py". (sf bug #1649347) Modified Paths: -------------- trunk/epydoc/src/epydoc/apidoc.py Modified: trunk/epydoc/src/epydoc/apidoc.py =================================================================== --- trunk/epydoc/src/epydoc/apidoc.py 2007-01-30 11:35:50 UTC (rev 1428) +++ trunk/epydoc/src/epydoc/apidoc.py 2007-02-03 03:51:05 UTC (rev 1429) @@ -63,10 +63,9 @@ """ UNREACHABLE = "??" _IDENTIFIER_RE = re.compile("""(?x) - (%s | # UNREACHABLE marker, or.. - (script-)? # Prefix: script (not a module) - [a-zA-Z_]\w* # Identifier - '?) # Suffix: submodule that is shadowed by a var + (%s | # UNREACHABLE marker, or... + script-\w+ | # Script name, or ... + [a-zA-Z_]\w*'?) # Identifier. (' used for shadowing submodules) (-\d+)? # Suffix: unreachable vals with the same name $""" % re.escape(UNREACHABLE)) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |