Re: pg_ident.conf + regular expressions issue - Mailing list pgsql-bugs

From David G. Johnston
Subject Re: pg_ident.conf + regular expressions issue
Date
Msg-id CAKFQuwaibErNPF+W7966B16ycFRJEk+trsVdJ73bQ1+Wm0mTBQ@mail.gmail.com
Whole thread Raw
In response to Re: pg_ident.conf + regular expressions issue  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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 by date:

Previous
From: Tom Lane
Date:
Subject: Re: pg_ident.conf + regular expressions issue
Next
From: px shi
Date:
Subject: Re: BUG #18666: Standby cluster does not start after building from Primary cluster.