[EMAIL PROTECTED] wrote:
> class mvbHTMLParser(htmllib.HTMLParser):
> def __init__(self, formatter, verbose=0):
> htmllib.HTMLParser.__init__(self,formatter,verbose)
def anchor_end(self):
self.anchor = None[...] > then the output is: > text_text > a_link[1] > > that's oke but how to delete [n] > like this? : del = re.compile(r'[0-9]',).sub Overriding the anchor_end() method as shown above will suppress the [n] suffix after links. Peter -- http://mail.python.org/mailman/listinfo/python-list
