def _filterargs(source):
 argsregex = "}\\('(.*)', *(\\d+), *(\\d+), *'(.*)'\\.split\\('\\|'\\), *(\\d+), *(.*)\\)\\)"
 args = re.search(argsregex, source, re.DOTALL).groups()
 try:
  return (args[0], args[3].split('|'), int(args[1]), int(args[2]))
 except ValueError:
  raise UnpackingError('Corrupted p.a.c.k.e.r. data.')

def _filterargs ( source ) : argsregex = "}\\('(.*)', *(\\d+), *(\\d+), *'(.*)'\\.split\\('\\|'\\), *(\\d+), *(.*)\\)\\)" args = re . search ( argsregex , source , re . DOTALL ) . groups ( ) try : return ( args [ 0 ] , args [ 3 ] . split ( '|' ) , int ( args [ 1 ] ) , int ( args [ 2 ] ) ) except ValueError : raise UnpackingError ( 'Corrupted p.a.c.k.e.r. data.' )
juice from a source file the four args needed by decoder .