mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-18 05:32:52 +00:00
22 lines
435 B
C++
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>();
|
|
}
|
|
|
|
}
|