Skip to content

Commit

Permalink
Update 7.string.md (#719)
Browse files Browse the repository at this point in the history
  • Loading branch information
izhuxiaoqing committed Jul 15, 2021
1 parent ce50333 commit ea62d2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs-2.0/3.ngql-guide/5.operators/7.string.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ nebula> RETURN 'apple' ENDS WITH 'app', 'apple' ENDS WITH 'e', 'apple' ENDS WITH

当前仅opencypher兼容语句(`MATCH`、`WITH`等)支持正则表达式,原生nGQL语句(`FETCH`、`GO`、`LOOKUP`等)不支持正则表达式。

Nebula Graph支持使用正则表达式进行过滤,正则表达式的语法是继承自`std::regex`,用户可以使用语法`=~ '<regexp>'`进行正则表达式匹配配。例如:
Nebula Graph支持使用正则表达式进行过滤,正则表达式的语法是继承自`std::regex`,用户可以使用语法`=~ '<regexp>'`进行正则表达式匹配。例如:

```ngql
nebula> RETURN "384748.39" =~ "\\d+(\\.\\d{2})?";
Expand Down

0 comments on commit ea62d2e

Please sign in to comment.