

def module_content(page, response):
    'Extract module_content'
    regexp = '<!-- module_content -->(?P<module_content>.*?)<!-- /module_content -->'
    blocks = re.finditer(blocks, page, re.DOTALL)
    for block in blocks:
        response['module_content'] = block.group('module_content').strip()
    return response

dataset/ETHPy150Open treeio/treeio/treeio/core/ajax/rules.py module_content/VarMisuse@24/56 `regexp`->`blocks`