Thanks to visit codestin.com
Credit goes to postgrespro.com

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

From Tom Lane
Subject Re: pg_ident.conf + regular expressions issue
Date
Msg-id [email protected]
Whole thread Raw
In response to Re: pg_ident.conf + regular expressions issue  (Tom Lane <[email protected]>)
List pgsql-bugs
Alexey Shishkin <[email protected]> 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 by date:

Previous
From: Alexey Shishkin
Date:
Subject: Re: pg_ident.conf + regular expressions issue
Next
From: "David G. Johnston"
Date:
Subject: Re: pg_ident.conf + regular expressions issue