Re: order of (escaped) characters in regex range

Поиск
Список
Период
Сортировка
От Merlin Moncure
Тема Re: order of (escaped) characters in regex range
Дата
Msg-id CAHyXU0zubMZnEOLtyrR0ozT_K1XdmV-VcOUUrp5X8ibj1p49_w@mail.gmail.com
обсуждение исходный текст
Ответ на Re: order of (escaped) characters in regex range  ("David Johnston" <polobo@yahoo.com>)
Список pgsql-general
On Tue, Dec 13, 2011 at 10:53 AM, David Johnston <polobo@yahoo.com> wrote:
> Aside from backward compatibility, and the various warnings, is there any
> reason to prefer dollar-quoting over a non-SQL-escaped string literal (i.e.,
> '3[A-Z\-\(\) ]'   ) ?

yeah -- because sooner or later you have to stick a single quote in
there (of course, you can double the ', but I personally think that's
awful).

merlin

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

Предыдущее
От: Scot Kreienkamp
Дата:
Сообщение: Re: initdb with lc-collate=C
Следующее
От: Rob Marjot
Дата:
Сообщение: Re: order of (escaped) characters in regex range