commit | 4cc902f4641a49971b9b6eaea002d5b2c861ff00 | [log] [tgz] |
---|---|---|
author | Fred Drake <fdrake@acm.org> | Thu Feb 18 16:11:12 1999 +0000 |
committer | Fred Drake <fdrake@acm.org> | Thu Feb 18 16:11:12 1999 +0000 |
tree | 2afdefca4080e8ce9a9310f0410bdb8a4240e728 | |
parent | 70a66c9d6d3d091758de013a3cb6507ce80ee7de [diff] [blame] |
Make the _rmtt regular expression deal with the new CSS-friendly changes to the HTML documentation.
diff --git a/Doc/tools/buildindex.py b/Doc/tools/buildindex.py index 6b1682f..644ec43 100755 --- a/Doc/tools/buildindex.py +++ b/Doc/tools/buildindex.py
@@ -77,7 +77,8 @@ return stuff -_rmtt = re.compile(r"(.*)<tt>(.*)</tt>(.*)$", re.IGNORECASE) +_rmtt = re.compile(r"(.*)<tt(?: class=[a-z0-9]+)?>(.*)</tt>(.*)$", + re.IGNORECASE) _rmparens = re.compile(r"\(\)") def split_entry_key(str):