regular expression question

Поиск
Список
Период
Сортировка
От Parker Thompson
Тема regular expression question
Дата
Msg-id Pine.A41.4.44.0206171601270.74374-100000@dante02.u.washington.edu
обсуждение исходный текст
Ответы Re: regular expression question  (Alvaro Herrera <alvherre@atentus.com>)
Список pgsql-general
I have a question regarding regular expression with postgres.

I am unable to find any reference to match on word boundaries (\b in
perl).  If this functionality exists in postgres I am interested in
knowing how to use it, an example would probably suffice.

If it does not, which is what I suspect, I am interested in knowing how
others have dealt with this problem.  It seems silly/ineffecient to just
try all cases, i.e. field ~* (^term| term | term$), but I can't think of a
better way.

Thanks,

Parker.
----------------------------------------------------------------
"Tom would prefer you use Emacs, because it makes Justin really
 mad.  Justin would prefer you use vi, because he thinks Tom
 suffers from some vicious malaise. You'll probably be lame and
 end up using Pico."
            -Shoutcast Server Documentation



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

Предыдущее
От: Stephan Szabo
Дата:
Сообщение: Re: weird EXPLAIN
Следующее
От: Vince Vielhaber
Дата:
Сообщение: Re: website design