@LocalContext
def alphanumeric(raw_bytes, *a, **kw):
 return encode(raw_bytes, expr=re_alphanumeric, *a, **kw)

@ LocalContext def alphanumeric ( raw_bytes , * a , ** kw ) : return encode ( raw_bytes , expr = re_alphanumeric , * a , ** kw )
alphanumeric -> str encode the shellcode raw_bytes such that it does not contain any bytes except for [a-za-z0-9] .