Re: 7.2 search/replace pl/pgsql

Поиск
Список
Период
Сортировка
От Josh Berkus
Тема Re: 7.2 search/replace pl/pgsql
Дата
Msg-id 200304061115.44945.josh@agliodbs.com
обсуждение исходный текст
Ответ на Re: 7.2 search/replace pl/pgsql  (Nabil Sayegh <postgresql@e-trolley.de>)
Список pgsql-novice
Nabil,
> Great, exactly what i was looking for.
>
> Any idea how to use subexpressions ?
> like:
>
> $_="<A href=\"blah\">"
> s/"[^"]*"/$1/

You could pick up a copy of "Leaning Perl".   PL/perl implements your host
system's perl library.

Keep in mind, though that any single quotes or backslashes in your expression
will have to be escaped in your function.

--
-Josh Berkus
 Aglio Database Solutions
 San Francisco


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

Предыдущее
От: eurlix
Дата:
Сообщение: How to see how much memory is used ?
Следующее
От: Vittorio Zuccala'
Дата:
Сообщение: postgres start failed