Re: Match 2 words and more

Поиск
Список
Период
Сортировка
От Rob Sargent
Тема Re: Match 2 words and more
Дата
Msg-id 6791C12E-B9A3-4917-9113-186B2F26D708@gmail.com
обсуждение исходный текст
Ответ на Match 2 words and more  (Shaozhong SHI <shishaozhong@gmail.com>)
Список pgsql-general

> On Nov 27, 2021, at 5:27 PM, Shaozhong SHI <shishaozhong@gmail.com> wrote:
>
> 
> this is supposed to find those to have 2 words and more.
>
> select name FROM a_table where "STREET_NAME" ~ '^[[:alpha:]+ ]+[:alpha:]+$';
>
> But, it finds only one word as well.
>
> It appears that regex is not robust.
>
> Can anyone shed light on this?
>
> Regards,
>
Show the results of the query. Describe how those results differ from what you desire or from what you expect.


> David



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

Предыдущее
От: Rob Sargent
Дата:
Сообщение: Re: Packaging pgAdmin 4
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: Match 2 words and more