

def _parse_long(self):
    buf = []
    self.delimiter = self.c
    self.consume()
    if (self.c == EOF):
        return ['', '', '', '']
    buf.append(self._match_pattern())
    if (self.c != EOF):
        self.consume()
        buf.append(self._match_pattern())
    else:
        buf.append('')
    if (self.c != EOF):
        self.consume()
    if ((self.c != EOF) and (self.c in self.FLAG)):
        buf.append(self._match_flags())
    else:
        buf.append('')
    if (self.c != EOF):
        self._match_white_space()
        buf.append(self._match_count())
    else:
        buf.append('')
    self._match_white_space()
    if (self.c != EOF):
        raise SyntaxError('Trailing characters.')
    return buf

dataset/ETHPy150Open SublimeText/VintageEx/vex/parsers/s_cmd.py SubstituteLexer._parse_long/original