ClickHouse/src/Functions/replaceRegexpAll.cpp

22 lines
435 B
C++
Raw Normal View History

#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>();
}
}