Re: How best to work around the issue - regex string cannot contain brackets

Поиск
Список
Период
Сортировка
От hubert depesz lubaczewski
Тема Re: How best to work around the issue - regex string cannot contain brackets
Дата
Msg-id 20220204125558.GA31459@depesz.com
обсуждение исходный текст
Ответ на How best to work around the issue - regex string cannot contain brackets  (Shaozhong SHI <shishaozhong@gmail.com>)
Список pgsql-sql
On Thu, Feb 03, 2022 at 04:53:18PM +0000, Shaozhong SHI wrote:
> One would consider the following would work, but it did not because the
> brackets.
> select regexp_matches('Department for Transport (Parking)', 'Department for
> Transport (Parking)', 'g')
> Can anyone enlighten me?

Perhaps you don't want regexp matching, but simple equality or
substring match?

depesz



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

Предыдущее
От: aditya desai
Дата:
Сообщение: Re: Increase fetch fize of oracl_fdw(ALTER SERVER)
Следующее
От: Shaozhong SHI
Дата:
Сообщение: Re: How best to work around the issue - regex string cannot contain brackets