def remaining_args(oldArgs, newArgList):
    pattern = r'\s+'.join(re.escape(a) for a in newArgList) + r'\s*$'
    matchObj = re.search(pattern, oldArgs)
    return oldArgs[matchObj.start():]
Indicates whether this volume should be mounted. Internal method, used by imount.py
dataset/ETHPy150Open jookies/jasmin/jasmin/protocols/cli/options.py/remaining_args--crossover with--dataset/ETHPy150Open ralphje/imagemounter/imagemounter/volume.py/Volume._should_mount