From: | Alexey Shishkin <alexey(dot)shishkin(dot)01(at)gmail(dot)com> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>, "pgsql-bugs(at)lists(dot)postgresql(dot)org" <pgsql-bugs(at)lists(dot)postgresql(dot)org> |
Subject: | Re: pg_ident.conf + regular expressions issue |
Date: | 2024-10-21 20:58:12 |
Message-ID: | CAL2LCjyXn0MHPg9=qKcSiv0vJ26vK2heh5B41KJd1Romp-Ed5w@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs |
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 ?
best regards,
Alexey Shishkin
alexey(dot)shishkin(dot)01(at)gmail(dot)com
On Mon, Oct 21, 2024 at 9:39 PM Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> Alexey Shishkin <alexey(dot)shishkin(dot)01(at)gmail(dot)com> writes:
> > Let me rephrase my question about regular expressions + pg_ident.conf:
> > - why test09 is successful, while test10 fails ?
>
> I don't see why that one surprises you. "/(?c)^(.*SMOKEYBEAR)$" does
> not match "smokeybear".
>
> regards, tom lane
>
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2024-10-21 21:04:48 | Re: pg_ident.conf + regular expressions issue |
Previous Message | Tom Lane | 2024-10-21 19:39:57 | Re: pg_ident.conf + regular expressions issue |