REGEXP_INSTR()
This page is part of MariaDB's Documentation.
The parent of this page is: Functions for MariaDB Enterprise Server
Topics on this page:
Overview
A description for this Function has not yet been added to this Documentation.
EXAMPLES
SELECT REGEXP_INSTR('aa bbb cccc', 'a');
+----------------------------------+
| REGEXP_INSTR('aa bbb cccc', 'a') |
+----------------------------------+
| 1 |
+----------------------------------+
SELECT REGEXP_INSTR('aa bbb cccc', 'b');
+----------------------------------+
| REGEXP_INSTR('aa bbb cccc', 'b') |
+----------------------------------+
| 4 |
+----------------------------------+
SELECT REGEXP_INSTR('aa bbb cccc', 'c');
+----------------------------------+
| REGEXP_INSTR('aa bbb cccc', 'c') |
+----------------------------------+
| 8 |
+----------------------------------+
SELECT REGEXP_INSTR('aa bbb cccc', 'b{3}');
+-------------------------------------+
| REGEXP_INSTR('aa bbb cccc', 'b{3}') |
+-------------------------------------+
| 4 |
+-------------------------------------+
SELECT REGEXP_INSTR('aa bbb cccc', 'a{3}');
+-------------------------------------+
| REGEXP_INSTR('aa bbb cccc', 'a{3}') |
+-------------------------------------+
| 0 |
+-------------------------------------+
CHANGE HISTORY
EXTERNAL REFERENCES
Additional information on this topic may be found in the MariaDB Public Knowledge Base.