Re: Postgres regexp matching failure?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Postgres regexp matching failure?
Дата
Msg-id 24281.1157465504@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Postgres regexp matching failure?  (Mario Splivalo <mario.splivalo@mobart.hr>)
Ответы Re: Postgres regexp matching failure?
Список pgsql-sql
Mario Splivalo <mario.splivalo@mobart.hr> writes:
> Now, here is what happens if I try this in postgres:

> pulitzer2=# select '+mario' ~ '^\s*(?:[\+|-]|(?:[sS][tT][oO][pP]\b)).*$';

I'm thinking you've forgotten to double your backslashes.
        regards, tom lane


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

Предыдущее
От: "Aaron Bono"
Дата:
Сообщение: Re: Postgres regexp matching failure?
Следующее
От: Mario Splivalo
Дата:
Сообщение: Re: Postgres regexp matching failure?