Add REGEXP operator (Bug: 47530)

This commit is contained in:
Robert Schulze 2023-03-21 21:24:37 +00:00
parent a2ed794518
commit 5091bd42f0
No known key found for this signature in database
GPG Key ID: 26703B55FB13728A
3 changed files with 3 additions and 0 deletions

View File

@ -2255,6 +2255,7 @@ std::vector<std::pair<const char *, Operator>> ParserExpressionImpl::operators_t
{"ILIKE", Operator("ilike", 8, 2)},
{"NOT LIKE", Operator("notLike", 8, 2)},
{"NOT ILIKE", Operator("notILike", 8, 2)},
{"REGEXP", Operator("match", 8, 2)},
{"IN", Operator("in", 8, 2)},
{"NOT IN", Operator("notIn", 8, 2)},
{"GLOBAL IN", Operator("globalIn", 8, 2)},

View File

@ -0,0 +1 @@
1

View File

@ -0,0 +1 @@
SELECT 'ab' REGEXP 'a.*b';