ClickHouse/src/Functions/replaceRegexpAll.cpp
2020-09-07 21:00:37 +03:00

26 lines
450 B
C++

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