AREs in substring(from)

Поиск
Список
Период
Сортировка
От Brandon Craig Rhodes
Тема AREs in substring(from)
Дата
Msg-id vwbrcms6hq.fsf@guinness.ts.gatech.edu
обсуждение исходный текст
Ответы Re: AREs in substring(from)
Список pgsql-general
As the documentation leads me to expect, my Postgresql 7.4
installation produces:

   select substring('Bar, Foo' FROM '.')  ->  'B'

but even though my regex_flavor = advanced,

   select substring('Bar, Foo' FROM '\\w')  ->  NULL
   select substring('Bar, Foo' FROM '***:\\w')  ->  NULL

whereas I expect these to produce 'B' as well.  What am I missing?

--
Brandon Craig Rhodes                         http://www.rhodesmill.org/brandon
Georgia Tech                                            brandon@oit.gatech.edu

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

Предыдущее
От: Pavel Stehule
Дата:
Сообщение: valid using INITIALLY DEFERRED
Следующее
От: Oleg Bartunov
Дата:
Сообщение: Re: PostgreSQL 8.0.0 Release Candidate 2