ClickHouse/src/Common/likePatternToRegexp.h
2023-02-27 16:41:15 +00:00

13 lines
225 B
C++

#pragma once
#include <base/types.h>
#include <string_view>
namespace DB
{
/// Transforms the [I]LIKE expression into regexp re2. For example, abc%def -> ^abc.*def$
String likePatternToRegexp(std::string_view pattern);
}