import re


def reFindAll(regulation, contents):
    """正则表达式匹配

    Args:
        regulation (string): 匹配规则
        contents (string): 待匹配文本

    Returns:
        List: 匹配结果
    """
    result_list = re.findall(regulation, contents, re.DOTALL)
    return result_list