parameters: (string)
return_statement: return [unescape(arg) for arg in shlex.split(string)]
docstring: Takes a command string and returns as a list.
docstring_summary: Takes a command string and returns as a list.
docstring_tokens: Takes a command string and returns as a list .
function: def decode(string):
      """ Takes a command string and returns as a list. """
  
      def unescape(arg):
          """ Gets rid of the escaping characters. """
  
          if len(arg) >= 2 and arg[0] == arg[-1] and arg[0] == '"':
              arg = arg[1:-1]
              return re.sub(r'\\(["\\])', r'\1', arg)
          return re.sub(r'\\([\\ $%&\(\)\[\]\{\}\*|<>@?!])', r'\1', arg)
  
      return [unescape(arg) for arg in shlex.split(string)]
function_tokens: def decode ( string ) : def unescape ( arg ) : """ Gets rid of the escaping characters. """ if len ( arg ) >= 2 and arg [ 0 ] == arg [ - 1 ] and arg [ 0 ] == '"' : arg = arg [ 1 : - 1 ] return re . sub ( r'\\(["\\])' , r'\1' , arg ) return re . sub ( r'\\([\\ $%&\(\)\[\]\{\}\*|<>@?!])' , r'\1' , arg ) return [ unescape ( arg ) for arg in shlex . split ( string ) ]