| From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
|---|---|
| To: | Alexey Shishkin <alexey(dot)shishkin(dot)01(at)gmail(dot)com> |
| 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 21:04:48 |
| Message-ID: | 1731237.1729544688@sss.pgh.pa.us |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-bugs |
Alexey Shishkin <alexey(dot)shishkin(dot)01(at)gmail(dot)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
| From | Date | Subject | |
|---|---|---|---|
| Next Message | David G. Johnston | 2024-10-21 21:12:57 | Re: pg_ident.conf + regular expressions issue |
| Previous Message | Alexey Shishkin | 2024-10-21 20:58:12 | Re: pg_ident.conf + regular expressions issue |