Loading asn2md.py +1 −1 Original line number Diff line number Diff line Loading @@ -83,7 +83,7 @@ def parseModule(mname, content): for fm in re.finditer(r'^([,\s\w-]*?)FROM\s*([\w-]+)\s*({[^}]*}(?:\s+WITH\s+SUCCESSORS)?)?', s, re.VERBOSE | re.MULTILINE): imName = fm.group(2) for im in re.finditer(r'[^,\s]+', fm.group(1), 0): extTypes[im[0]] = imName+'.md' extTypes[im.group(0)] = imName+'.md' ret += ' * **{}** *{}*<br/>\n'.format(imName, re.sub(r'\s+', ' ', fm.group(3) or '', 0, 0)) ret += parseText(s[pos:fm.start()], 3)+'\n' pos = fm.end() Loading Loading
asn2md.py +1 −1 Original line number Diff line number Diff line Loading @@ -83,7 +83,7 @@ def parseModule(mname, content): for fm in re.finditer(r'^([,\s\w-]*?)FROM\s*([\w-]+)\s*({[^}]*}(?:\s+WITH\s+SUCCESSORS)?)?', s, re.VERBOSE | re.MULTILINE): imName = fm.group(2) for im in re.finditer(r'[^,\s]+', fm.group(1), 0): extTypes[im[0]] = imName+'.md' extTypes[im.group(0)] = imName+'.md' ret += ' * **{}** *{}*<br/>\n'.format(imName, re.sub(r'\s+', ' ', fm.group(3) or '', 0, 0)) ret += parseText(s[pos:fm.start()], 3)+'\n' pos = fm.end() Loading