// Copyright (c) 2020-now by the Zeek Project. See LICENSE for details.

#pragma once

#include <memory>
#include <string>

#include <hilti/ast/operators/common.h>

namespace hilti::operator_ {

HILTI_NODE_OPERATOR(regexp, Match)
HILTI_NODE_OPERATOR(regexp, Find)
HILTI_NODE_OPERATOR(regexp, MatchGroups)
HILTI_NODE_OPERATOR(regexp, TokenMatcher)

HILTI_NODE_OPERATOR(regexp_match_state, AdvanceBytes)
HILTI_NODE_OPERATOR(regexp_match_state, AdvanceView)

} // namespace hilti::operator_
