xccui commented on a change in pull request #6448: [FLINK-9990] [table] Add 
regexp_extract supported in TableAPI and SQL
URL: https://github.com/apache/flink/pull/6448#discussion_r221666556
 
 

 ##########
 File path: docs/dev/table/functions.md
 ##########
 @@ -2963,6 +2989,19 @@ STRING1.replace(STRING2, STRING3)
       </td>
     </tr>
 
+    <tr>
+      <td>
+        {% highlight scala %}
+STRING1.regexpExtract(STRING2, INTEGER1)
+{% endhighlight %}
+      </td>
+      <td>
+        <p>Returns a string from <i>STRING1</i> which extracted with a 
specified regular expression <i>STRING2</i> and a regex match group index 
<i>INTEGER1</i>.</p>
+        <p><b>Note:</b> The regex match group index should starts from 1 and 0 
represents matching the whole regexp. In addition, The regex match group index 
should not exceed the number of the defined groups.</p>
 
 Review comment:
   The regex match group index ~~should~~ starts from 1, and 0 means...
   In addition, the index should not...
   ~~regexp~~ -> regex

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to