[Epydoc-commits] SF.net SVN: epydoc: [1446] trunk/epydoc/src/epydoc/apidoc.py
Brought to you by:
edloper
From: <dva...@us...> - 2007-02-10 20:34:08
|
Revision: 1446 http://svn.sourceforge.net/epydoc/?rev=1446&view=rev Author: dvarrazzo Date: 2007-02-10 12:34:07 -0800 (Sat, 10 Feb 2007) Log Message: ----------- - Still more relaxed regexpr to identify valid dotted names, to allow names such 'badguy.00_evilinside'. See 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-02-10 19:55:33 UTC (rev 1445) +++ trunk/epydoc/src/epydoc/apidoc.py 2007-02-10 20:34:07 UTC (rev 1446) @@ -63,9 +63,11 @@ """ UNREACHABLE = "??" _IDENTIFIER_RE = re.compile("""(?x) - (%s | # UNREACHABLE marker, or... - script-\w+ | # Script name, or ... - [a-zA-Z_]\w*'?) # Identifier. (' used for shadowing submodules) + (%s | # UNREACHABLE marker, or.. + (script-)? # Prefix: script (not a module) + \w+ # Identifier (yes, identifiers starting with a + # digit are allowed. See SF bug #1649347) + '?) # Suffix: submodule that is shadowed by a var (-\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. |