def uncomment(filename, regex, use_sudo=False, char='#', backup='.bak',
    shell=False):
    return sed(
        filename,
        before=r'^([[:space:]]*)%s[[:space:]]?' % char,
        after=r'\1',
        limit=regex,
        use_sudo=use_sudo,
        backup=backup,
        shell=shell
    )
Attempt to uncomment all lines in ``filename`` matching ``regex``.
dataset/ETHPy150Open fabric/fabric/fabric/contrib/files.py/uncomment