| От | Tom Lane |
|---|---|
| Тема | Re: Substring question |
| Дата | |
| Msg-id | 27192.1102964964@sss.pgh.pa.us обсуждение |
| Ответ на | Re: Substring question (Michael Fuhr <mike@fuhr.org>) |
| Список | pgsql-general |
Michael Fuhr <mike@fuhr.org> writes:
> On Mon, Dec 13, 2004 at 06:17:27PM +0000, Adam Witney wrote:
>> I would like to be able to select like this (this is a regular expression I
>> would do in perl)
> Remember that the backslash (\) already has a special meaning in
> PostgreSQL string literals. To write a pattern constant that
> contains a backslash, you must write two backslashes in the
> statement.
> Is that what you're after?
Also, our regular expression engine is based on Tcl's, which has some
subtle differences from Perl's. I believe this particular regexp
would act the same in both, but if you are a regexp guru you might
run into things that act differently.
regards, tom lane
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера