Match 2 words and more

Поиск
Список
Период
Сортировка
От Shaozhong SHI
Тема Match 2 words and more
Дата
Msg-id CA+i5Jwbzej+34xLZvyVj1rM=SrXO1f+P4scaJUA2Y4xQfAJ0=A@mail.gmail.com
обсуждение исходный текст
Ответы Re: Match 2 words and more  (Rob Sargent <robjsargent@gmail.com>)
Re: Match 2 words and more  (Alvaro Herrera <alvherre@alvh.no-ip.org>)
Re: Match 2 words and more  (Guyren Howe <guyren@gmail.com>)
Re: Match 2 words and more  ("David G. Johnston" <david.g.johnston@gmail.com>)
Re: Match 2 words and more  ("Peter J. Holzer" <hjp-pgsql@hjp.at>)
Re: Match 2 words and more  ("Peter J. Holzer" <hjp-pgsql@hjp.at>)
Re: Match 2 words and more  (Thomas Markus <t.markus@proventis.net>)
Список pgsql-general
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,

David

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

Предыдущее
От: Blake McBride
Дата:
Сообщение: Re: Packaging pgAdmin 4
Следующее
От: Rob Sargent
Дата:
Сообщение: Re: Packaging pgAdmin 4