Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VHkGT-0003iM-LY for pgsql-docs@arkaria.postgresql.org; Fri, 06 Sep 2013 00:51:09 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1VHkGS-00056d-4u for pgsql-docs@arkaria.postgresql.org; Fri, 06 Sep 2013 00:51:08 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VHkGQ-00056U-BP for pgsql-docs@postgresql.org; Fri, 06 Sep 2013 00:51:06 +0000 Received: from momjian.us ([72.94.173.45]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VHkGN-0007um-KN for pgsql-docs@postgresql.org; Fri, 06 Sep 2013 00:51:05 +0000 Received: from bruce by momjian.us with local (Exim 4.72) (envelope-from ) id 1VHkGM-0004lN-KQ for pgsql-docs@postgresql.org; Thu, 05 Sep 2013 20:51:02 -0400 Date: Thu, 5 Sep 2013 20:51:02 -0400 From: Bruce Momjian To: PostgreSQL-documentation Subject: Re: regexp_replace 'g' flag Message-ID: <20130906005102.GG27195@momjian.us> References: <20130906003744.GF27195@momjian.us> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20130906003744.GF27195@momjian.us> User-Agent: Mutt/1.5.20 (2009-06-14) X-Pg-Spam-Score: -4.3 (----) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-docs Precedence: bulk Sender: pgsql-docs-owner@postgresql.org On Thu, Sep 5, 2013 at 08:37:44PM -0400, Bruce Momjian wrote: > Why doesn't the 'g' flag appear in this table? > > http://www.postgresql.org/docs/9.2/static/functions-matching.html#POSIX-EMBEDDED-OPTIONS-TABLE > > I see text here that says: > > http://www.postgresql.org/docs/9.2/static/functions-matching.html#FUNCTIONS-POSIX-REGEXP > Other supported flags are described in Table 9-19. > > Seems 'g' should appear there too. Is it because the table has generic pattern modififers and 'g' only is relevant for regexp_replace? I assume so. -- Bruce Momjian http://momjian.us EnterpriseDB http://enterprisedb.com + It's impossible for everything to be true. + -- Sent via pgsql-docs mailing list (pgsql-docs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-docs