Re: pg_ident.conf + regular expressions issue

Поиск
Список
Период
Сортировка
От David G. Johnston
Тема Re: pg_ident.conf + regular expressions issue
Дата
Msg-id CAKFQuwaibErNPF+W7966B16ycFRJEk+trsVdJ73bQ1+Wm0mTBQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: pg_ident.conf + regular expressions issue  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-bugs
On Monday, October 21, 2024, Alexey Shishkin <alexey.shishkin.01@gmail.com> wrote:
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 ?

I suggest you explain in your own words what those two regular expressions are attempting to do.  Why do you expect the second one to not match?  Why does the first one not match?

David J.

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