Section 9.7.3 had a syntax synopsis for regexp_replace()
that was different from Table 9.10's, but still wrong.
Update that one too. Oversight in
580f8727c.
Jian He
Discussion: https://postgr.es/m/CACJufxG3NFKKsh6x4fRLv8h3V-HvN4W5dA=zNKMxsNcDwOKang@mail.gmail.com
regexp_replace (
string text,
pattern text,
replacement text
text
regexp_replace (
string text,
pattern text,
replacement text,
text
It has the syntax
regexp_replace(string,
pattern, replacement
- , start
+ , flags )
+ or
+ regexp_replace(string,
+ pattern, replacement,
+ start
, N
-
- , flags ).
- (Notice that N cannot be specified
- unless start is,
- but flags can be given in any case.)
+ , flags ).
The source string is returned unchanged if
there is no match to the pattern. If there is a
match, the string is returned with the