From: Bruce Momjian Date: Sat, 1 Feb 2014 03:40:08 +0000 (-0500) Subject: docs: mention 'g' is not in the regex embedded options table X-Git-Tag: REL9_4_BETA1~555 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5bdef38b8917cfbe206d14969c61a5d38fc822b6;p=postgresql docs: mention 'g' is not in the regex embedded options table Mentioned in substring() and regexp_replace() sections. --- diff --git a/doc/src/sgml/func.sgml b/doc/src/sgml/func.sgml index 9c2708c09b..252539f93b 100644 --- a/doc/src/sgml/func.sgml +++ b/doc/src/sgml/func.sgml @@ -3984,7 +3984,8 @@ substring('foobar' from 'o(.)b') o string containing zero or more single-letter flags that change the function's behavior. Flag i specifies case-insensitive matching, while flag 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 g) are described in . @@ -4021,8 +4022,9 @@ regexp_replace('foobarbaz', 'b(..)', E'X\\1Y', 'g') string containing zero or more single-letter flags that change the function's behavior. Flag g causes the function to find each match in the string, not only the first one, and return a row for - each such match. Other supported - flags are described in . + each such match. Supported flags (though + not g) + are described in .