Re: Trim not working (PostgreSQL 9.1.2 on Win64)

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Trim not working (PostgreSQL 9.1.2 on Win64)
Дата
Msg-id 6304.1343515313@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Trim not working (PostgreSQL 9.1.2 on Win64)  (Edson Richter <edsonrichter@hotmail.com>)
Ответы Re: Trim not working (PostgreSQL 9.1.2 on Win64)  (Edson Richter <edsonrichter@hotmail.com>)
Список pgsql-general
Edson Richter <edsonrichter@hotmail.com> writes:
> If I do apply trim over the substring, no spaces are removed, and I
> cannot understand why.
> ...
> But using the regular expression matching "^\s*" and "\s*$" works, and
> spaces are removed:

I think what this means is that what you say are runs of spaces are no
such thing, but are some other whitespace character(s).  Perhaps tabs,
or non-breaking spaces?

            regards, tom lane

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

Предыдущее
От: Edson Richter
Дата:
Сообщение: Re: Trim not working (PostgreSQL 9.1.2 on Win64)
Следующее
От: Adrian Klaver
Дата:
Сообщение: Re: Trim not working (PostgreSQL 9.1.2 on Win64)