Re: pg_ident.conf + regular expressions issue

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: pg_ident.conf + regular expressions issue
Дата
Msg-id 1731237.1729544688@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: pg_ident.conf + regular expressions issue  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-bugs
Alexey Shishkin <alexey.shishkin.01@gmail.com> writes:
> OK, what we have is:
> "(?c)^(.*SMOKEYBEAR)$" does not match "smokeybear"
> and at the same time:
> "(?i)^(.*SMOKEYBEAR)$" does match "smokeybear"
> How the latter is possible ?

Uh, that's the entire point of the "i" flag, no?
See about embedded options here:

https://www.postgresql.org/docs/current/functions-matching.html#POSIX-METASYNTAX

            regards, tom lane



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