mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-04 13:32:13 +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>();
|
||
|
}
|
||
|
|
||
|
}
|