ClickHouse/src/Functions/replaceRegexpAll.cpp
2020-05-07 02:21:13 +03:00

22 lines
435 B
C++

#include "FunctionStringReplace.h"
#include "FunctionFactory.h"
#include "ReplaceRegexpImpl.h"
namespace DB
{
struct NameReplaceRegexpAll
{
static constexpr auto name = "replaceRegexpAll";
};
using FunctionReplaceRegexpAll = FunctionStringReplace<ReplaceRegexpImpl<false>, NameReplaceRegexpAll>;
void registerFunctionReplaceRegexpAll(FunctionFactory & factory)
{
factory.registerFunction<FunctionReplaceRegexpAll>();
}
}