[Doc-SIG] Bugfix II -- ManualPage.py

Mike Fletcher mcfletch@golden.net
Tue, 31 Mar 1998 21:31:40 -0500


Ah, looking at the results, I see I do have plenty with which to test (they
apparently mean something different than I'd assumed)... 
here's the re-revised version that works properly as far as I can see :) .

Sorry for the static :-/ ,
Mike

8<____ ManualPage.py line 108 _____
#                                        ___1____  ___2______ 
hyperlink_regex = regex.compile('HREF=\\([^:]*\\)::\\([^:]*\\)/HREF')

8<____ ManualPage.py line 500 _____
	while 1:
	    index = hyperlink_regex.search(text, index+len(rendered_link))

	    if index == -1: break

	    link_len = len(hyperlink_regex.group(0))

	    # Group 1 is the link, group 3 the link text
	    link, link_text = hyperlink_regex.group(1), hyperlink_regex.group(2)

________________________________
 M i k e   C .  F l e t c h e r

       mcfletch@golden.net
http://www.golden.net/~mcfletch/
________________________________
 Design, Consultation, Training
     Now available for hire