Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1t2yG3-00986J-Dy for pgsql-bugs@arkaria.postgresql.org; Mon, 21 Oct 2024 19:40:03 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1t2yG1-00B0KO-IZ for pgsql-bugs@arkaria.postgresql.org; Mon, 21 Oct 2024 19:40:01 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1t2yG1-00B0KG-91 for pgsql-bugs@lists.postgresql.org; Mon, 21 Oct 2024 19:40:01 +0000 Received: from sss.pgh.pa.us ([68.162.161.243]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1t2yFz-0023vp-1W for pgsql-bugs@lists.postgresql.org; Mon, 21 Oct 2024 19:40:00 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 49LJdvxg1721217; Mon, 21 Oct 2024 15:39:57 -0400 From: Tom Lane To: Alexey Shishkin cc: "David G. Johnston" , "pgsql-bugs@lists.postgresql.org" Subject: Re: pg_ident.conf + regular expressions issue In-reply-to: References: <1556449.1729522277@sss.pgh.pa.us> <1565682.1729525743@sss.pgh.pa.us> Comments: In-reply-to Alexey Shishkin message dated "Mon, 21 Oct 2024 21:16:56 +0200" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <1721215.1729539597.1@sss.pgh.pa.us> Date: Mon, 21 Oct 2024 15:39:57 -0400 Message-ID: <1721216.1729539597@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Alexey Shishkin 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