BUG #13310: Please update docs of regexp_replace()

Поиск
Список
Период
Сортировка
От guettli.postgres@thomas-guettler.de
Тема BUG #13310: Please update docs of regexp_replace()
Дата
Msg-id 20150518091136.1028.4216@wrigleys.postgresql.org
обсуждение исходный текст
Ответы Re: BUG #13310: Please update docs of regexp_replace()  ("David G. Johnston" <david.g.johnston@gmail.com>)
Список pgsql-bugs
The following bug has been logged on the website:

Bug reference:      13310
Logged by:          Thomas Güttler
Email address:      guettli.postgres@thomas-guettler.de
PostgreSQL version: 9.4.1
Operating system:   All
Description:

Please improve the example of regexp_replace():

I am missing a "group insert" in the example.

I would replace this example:

    regexp_replace('Thomas', '.[mN]a.', 'M')     ThM

With this one:

    regexp_replace('fooooooobar', 'f(o*)bar', '\\1')

It can be any other example, but a "group insert" (\\1) would be very nice.

I talk about this:

 Table 9-6. SQL String Functions and Operators

 http://www.postgresql.org/docs/9.4/static/functions-string.html

В списке pgsql-bugs по дате отправления:

Предыдущее
От: s.rama194@gmail.com
Дата:
Сообщение: BUG #13307: Increasing space
Следующее
От: "David G. Johnston"
Дата:
Сообщение: Re: BUG #13310: Please update docs of regexp_replace()