def findTags(s, beginning, end):
    """
    Finds and returns list of tags from string.

    """
    if not s:
        return []
    return re.compile((beginning, end) % '%s(.*?)%s', re.DOTALL).findall(s)
dataset/ETHPy150Open argoroots/Entu/app/main/db.py/findTags/swapped operands of `%`