[Python-checkins] CVS: python/dist/src/Doc/tools mkmodindex,1.4,1.4.4.1

Fred L. Drake python-dev@python.org
Mon, 20 Mar 2000 10:15:45 -0500 (EST)


Update of /projects/cvsroot/python/dist/src/Doc/tools
In directory weyr:/home/fdrake/projects/python/Doc-152p2/tools

Modified Files:
      Tag: release152p1-patches
	mkmodindex 
Log Message:

Adjust regular expression so that it actually works with the changes
in perl/l2hinit.perl and perl/python.perl.


Index: mkmodindex
===================================================================
RCS file: /projects/cvsroot/python/dist/src/Doc/tools/mkmodindex,v
retrieving revision 1.4
retrieving revision 1.4.4.1
diff -C2 -r1.4 -r1.4.4.1
*** mkmodindex	1999/03/04 21:33:55	1.4
--- mkmodindex	2000/03/20 15:15:42	1.4.4.1
***************
*** 48,53 ****
  
  _rx = re.compile(
!     '<dt><a href="(module-.*\.html)">'
!     '([a-zA-Z_][a-zA-Z0-9_.]*(\s*<em>\(.*\)</em>)?)</a>')
  
  def main():
--- 48,54 ----
  
  _rx = re.compile(
!     "<dt><a href='(module-.*\.html)#l2h-\d+'><tt class='module'>"
!     "([a-zA-Z_][a-zA-Z0-9_.]*</tt>(\s*<em>"
!     "\(<span class='platform'>.*</span>\)</em>)?)</a>")
  
  def main():