mirror of
https://github.com/python/cpython.git
synced 2025-07-23 11:15:24 +00:00
breakable_re: Fix the RE so that module definition entries don't prevent
combining.
This commit is contained in:
parent
a73033fcc2
commit
c02fbe52b2
2 changed files with 4 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue