Commit eaee35f9 authored by Fred Drake's avatar Fred Drake

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

	combining.
parent b54b674f
......@@ -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
......
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment