breakable_re: Fix the RE so that module definition entries don't prevent

combining.
This commit is contained in:
Fred Drake 1998-02-19 06:05:29 +00:00
parent a73033fcc2
commit c02fbe52b2
2 changed files with 4 additions and 2 deletions

View File

@ -40,7 +40,8 @@ def dump_entries(write, entries):
write(" \subitem %s%s\n" % (subitem, pages))
breakable_re = re.compile(r" \\item (.*) [(](.*)[)]((?:, \d+)+)")
breakable_re = re.compile(
r" \\item (.*) [(](.*)[)]((?:(?:, \d+)|(?:, \\[a-z]*\{\d+\}))+)")
def main():
import getopt

View File

@ -40,7 +40,8 @@ def dump_entries(write, entries):
write(" \subitem %s%s\n" % (subitem, pages))
breakable_re = re.compile(r" \\item (.*) [(](.*)[)]((?:, \d+)+)")
breakable_re = re.compile(
r" \\item (.*) [(](.*)[)]((?:(?:, \d+)|(?:, \\[a-z]*\{\d+\}))+)")
def main():
import getopt