danny0405 commented on a change in pull request #1401: [CALCITE-3280] Add regexp_replace function (Shuming Li) URL: https://github.com/apache/calcite/pull/1401#discussion_r317475786
########## File path: site/_docs/reference.md ########## @@ -2204,6 +2204,7 @@ semantics. | o p | TO_DATE(string, format) | Converts *string* to a date using the format *format* | o p | TO_TIMESTAMP(string, format) | Converts *string* to a timestamp using the format *format* | o p | TRANSLATE(expr, fromString, toString) | Returns *expr* with all occurrences of each character in *fromString* replaced by its corresponding character in *toString*. Characters in *expr* that are not in *fromString* are not replaced +| m o | REGEXP_REPLACE(string, regexp, rep, [, pos, occurrence, match_type]) | Replaces all substrings of *string* that match regexp with rep Review comment: Give some notes about what the optional arguments mean. ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
