Skip to main content
Ctrl+K
PyFlink 1.20+vvr.11.7.dev0 documentation - Home PyFlink 1.20+vvr.11.7.dev0 documentation - Home
  • API Reference
  • Examples
  • API Reference
  • Examples

Section Navigation

  • PyFlink Table
    • TableEnvironment
    • Table
    • Data Types
    • Window
    • Expressions
    • User Defined Functions
    • Descriptors
    • StatementSet
    • Catalog
  • PyFlink DataStream
  • PyFlink DataFrame
  • PyFlink Common
  • API Reference
  • PyFlink Table
  • Expressions
  • pyflink.table.expression.Expression.regexp_instr

pyflink.table.expression.Expression.regexp_instr#

Expression.regexp_instr(regex) → Expression[source]#

Returns the position of the first substring in str that matches regex. Result indexes begin at 1, 0 if there is no match. null if any of the arguments are null or regex is invalid.

Parameters:

regex – A STRING expression with a matching pattern.

Returns:

An INTEGER representation of the first matched substring index.

Added in version 1.12.0.

previous

pyflink.table.expression.Expression.regexp_extract_all

next

pyflink.table.expression.Expression.regexp_substr

On this page
  • Expression.regexp_instr()

This Page

  • Show Source

Created using Sphinx 7.4.7.

Built with the PyData Sphinx Theme 0.16.1.