Match 2 words and more

Поиск
Список
Период
Сортировка
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