yiguolei commented on code in PR #2568:
URL: https://github.com/apache/doris-website/pull/2568#discussion_r2184304236


##########
docs/sql-manual/sql-functions/scalar-functions/string-functions/regexp.md:
##########
@@ -40,25 +38,24 @@ REGEXP(<str>, <pattern>)
 
 | Parameter | Description |
 | -- | -- |
-| `<str>` | The column need to do regular matching.|
-| `<pattern>` | Target pattern.|
+| `<str>` | String type. Represents the string to be matched against the 
regular expression, which can be a column in a table or a literal string.|
+| `<pattern>` | String type. The regular expression pattern used to match 
against the string <str>. Regular expressions provide a powerful way to define 
complex search patterns, including character classes, quantifiers, and anchors.|
 
 ## Return Value
 
-A `BOOLEAN` value indicating whether the match was successful
+The REGEXP function returns a BOOLEAN value. If the string <str> matches the 
regular expression pattern <pattern>, the function returns true (represented as 
1 in SQL); if not, it returns false (represented as 0 in SQL).

Review Comment:
   什么时候返回null



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to