Re: Match 2 words and more

Поиск
Список
Период
Сортировка
От Guyren Howe
Тема Re: Match 2 words and more
Дата
Msg-id ADC6377F-C58E-428B-966B-F77C93ABF816@gmail.com
обсуждение исходный текст
Ответ на Match 2 words and more  (Shaozhong SHI <shishaozhong@gmail.com>)
Список pgsql-general
On Nov 27, 2021, at 16:27 , Shaozhong SHI <shishaozhong@gmail.com> wrote:

select name FROM a_table where "STREET_NAME" ~ '^[[:alpha:]+ ]+[:alpha:]+$’;

The simplest thing that does what you says is I think:

select name FROM a_table where "STREET_NAME" ~ ‘^([[:alpha:]]+\s)+[[:alpha:]]+$’;

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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: Match 2 words and more
Следующее
От: "David G. Johnston"
Дата:
Сообщение: Re: Match 2 words and more