Re: Regex for Word space Word space Word ....

Поиск
Список
Период
Сортировка
От Andreas Joseph Krogh
Тема Re: Regex for Word space Word space Word ....
Дата
Msg-id VisenaEmail.66.722aa014626d9b9e.17d4cc64a8a@tc7-visena
обсуждение исходный текст
Ответ на Re: Regex for Word space Word space Word ....  (Shaozhong SHI <shishaozhong@gmail.com>)
Список pgsql-general
På tirsdag 23. november 2021 kl. 12:25:29, skrev Shaozhong SHI <shishaozhong@gmail.com>:

It only matches First Street from 'My First Street'.

 
I was trying to make it to match words starting capital letter only.
 
 
You'll want to include unicode-characters, which [A-Z] approach doesn't handle well.
 
How about:
 
select regexp_matches('Åge is a Man', E'[[:upper:]]\\w+', 'g');
 
 
 
--
Andreas Joseph Krogh
CTO / Partner - Visena AS
Mobile: +47 909 56 963
 
Вложения

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

Предыдущее
От: Saurabh Agrawal
Дата:
Сообщение: Re: Regex for Word space Word space Word ....
Следующее
От: Matthias Apitz
Дата:
Сообщение: Re: SELECT fails to present result rows depending on the columns to show