Re: Using POSIX Regular Expressions on xml type fields gives inconsistent results

Поиск
Список
Период
Сортировка
От David Johnston
Тема Re: Using POSIX Regular Expressions on xml type fields gives inconsistent results
Дата
Msg-id 008d01cddf90$d86980d0$893c8270$@yahoo.com
обсуждение исходный текст
Ответ на Re: Using POSIX Regular Expressions on xml type fields gives inconsistent results  (Denis Papathanasiou <denis.papathanasiou@banrai.com>)
Ответы Re: Using POSIX Regular Expressions on xml type fields gives inconsistent results
Список pgsql-general
>
> If you look at the four examples which follow the posix match table in the
> docs (http://www.postgresql.org/docs/9.1/static/functions-
> matching.html#FUNCTIONS-POSIX-TABLE),
> some of them work from the left side, e.g.:
>
> 'abc' ~ '(b|d)'  true
>
> In my original example, I found I could write this from left to right like
this,
> and it would still work:
>
> '(b|d)' ~ 'abc'  true

Really???

Testing on Windows 9.0.4 this expression returns FALSE, not true as you
claim.  Please try again and reply with detailed version information and the
exact query(s) used if you can get the behavior to repeat itself.

David J.






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

Предыдущее
От: Chris Angelico
Дата:
Сообщение: Re: Coalesce bug ?
Следующее
От: "jg"
Дата:
Сообщение: Re: Coalesce bug ?