presto-parser/src/main/java/io/prestosql/sql/parser/DelimiterLexer.java/DelimiterLexer/match
class DelimiterLexer:    private boolean match(String delimiter)
    {
        for (int i = 0; i < delimiter.length(); i++) {
            if (_input.LA(i + 1) != delimiter.charAt(i)) {
                return false;
            }
        }
        _input.seek(_input.index() + delimiter.length());
        return true;
    }