'Creates a new `Command` from the given string, `s`, parsing
the string for command name and arguments.'

def __init__(self, s):

    command_match = self.command_re.match(s)
    self.name = command_match.group(1)
    self.args = []
    arg_matches = self.arg_re.findall(s[command_match.end():])
    for match in arg_matches:
        if match[0]:
            arg = match[0]
            arg = arg.replace(u'\\"', u'"').replace(u'\\\\', u'\\')
        else:
            arg = match[1]
        self.args.append(arg)
