mirror of
https://github.com/postgres/postgres.git
synced 2025-09-03 15:22:11 +03:00
docs: mention 'g' is not in the regex embedded options table
Mentioned in substring() and regexp_replace() sections.
This commit is contained in:
@@ -3984,7 +3984,8 @@ substring('foobar' from 'o(.)b') <lineannotation>o</lineannotation>
|
|||||||
string containing zero or more single-letter flags that change the
|
string containing zero or more single-letter flags that change the
|
||||||
function's behavior. Flag <literal>i</> specifies case-insensitive
|
function's behavior. Flag <literal>i</> specifies case-insensitive
|
||||||
matching, while flag <literal>g</> specifies replacement of each matching
|
matching, while flag <literal>g</> specifies replacement of each matching
|
||||||
substring rather than only the first one. Other supported flags are
|
substring rather than only the first one. Supported flags (though
|
||||||
|
not <literal>g</>) are
|
||||||
described in <xref linkend="posix-embedded-options-table">.
|
described in <xref linkend="posix-embedded-options-table">.
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
@@ -4021,8 +4022,9 @@ regexp_replace('foobarbaz', 'b(..)', E'X\\1Y', 'g')
|
|||||||
string containing zero or more single-letter flags that change the
|
string containing zero or more single-letter flags that change the
|
||||||
function's behavior. Flag <literal>g</> causes the function to find
|
function's behavior. Flag <literal>g</> causes the function to find
|
||||||
each match in the string, not only the first one, and return a row for
|
each match in the string, not only the first one, and return a row for
|
||||||
each such match. Other supported
|
each such match. Supported flags (though
|
||||||
flags are described in <xref linkend="posix-embedded-options-table">.
|
not <literal>g</>)
|
||||||
|
are described in <xref linkend="posix-embedded-options-table">.
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
|
Reference in New Issue
Block a user