On Wed, May 15, 2024 at 2:46 PM Robert Haas <robertmh...@gmail.com> wrote: > Examples in the regression tests aren't meant as tests, not examples > for users to copy. If we want examples, those belong in the > documentation. However, I see that regexp_replace already has some > examples at > https://www.postgresql.org/docs/current/functions-matching.html#FUNCTIONS-POSIX-REGEXP > so I'm not sure exactly what you think should be added.
Woops. I should have said: Examples in the regression tests *are* meant as tests... -- Robert Haas EDB: http://www.enterprisedb.com