Skip to content

Commit 5bdef38

Browse files
committed
docs: mention 'g' is not in the regex embedded options table
Mentioned in substring() and regexp_replace() sections.
1 parent 5168c76 commit 5bdef38

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

doc/src/sgml/func.sgml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3984,7 +3984,8 @@ substring('foobar' from 'o(.)b') <lineannotation>o</lineannotation>
39843984
string containing zero or more single-letter flags that change the
39853985
function's behavior. Flag <literal>i</> specifies case-insensitive
39863986
matching, while flag <literal>g</> specifies replacement of each matching
3987-
substring rather than only the first one. Other supported flags are
3987+
substring rather than only the first one. Supported flags (though
3988+
not <literal>g</>) are
39883989
described in <xref linkend="posix-embedded-options-table">.
39893990
</para>
39903991

@@ -4021,8 +4022,9 @@ regexp_replace('foobarbaz', 'b(..)', E'X\\1Y', 'g')
40214022
string containing zero or more single-letter flags that change the
40224023
function's behavior. Flag <literal>g</> causes the function to find
40234024
each match in the string, not only the first one, and return a row for
4024-
each such match. Other supported
4025-
flags are described in <xref linkend="posix-embedded-options-table">.
4025+
each such match. Supported flags (though
4026+
not <literal>g</>)
4027+
are described in <xref linkend="posix-embedded-options-table">.
40264028
</para>
40274029

40284030
<para>

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy