mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-19 21:03:51 +00:00
26 lines
450 B
C++
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>();
|
|
}
|
|
|
|
}
|