Received: from localhost (unknown [200.46.204.182]) by postgresql.org (Postfix) with ESMTP id EA98D9FA414 for ; Wed, 3 Oct 2007 00:48:17 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.182]) (amavisd-maia, port 10024) with ESMTP id 05153-02 for ; Wed, 3 Oct 2007 00:48:14 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by postgresql.org (Postfix) with ESMTP id 57FE39FA2BC for ; Wed, 3 Oct 2007 00:48:14 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.1/8.14.1) with ESMTP id l933m9Wm001596; Tue, 2 Oct 2007 23:48:09 -0400 (EDT) To: Erik Jones cc: weigelt@metux.de, pgsql-sql Subject: Re: Finding broken regex'es In-reply-to: <51E80F93-35D0-41A0-B9C0-A256A806C971@myemma.com> References: <20071002202313.GB18506@nibiru.local> <51E80F93-35D0-41A0-B9C0-A256A806C971@myemma.com> Comments: In-reply-to Erik Jones message dated "Tue, 02 Oct 2007 16:36:55 -0500" Date: Tue, 02 Oct 2007 23:48:09 -0400 Message-ID: <1595.1191383289@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200710/7 X-Sequence-Number: 29379 Erik Jones writes: > IIRC, if they're PERL compatible which it would seem from the php > function you're using, no. Postgres supports POSIX regexes but not > (right now anyway) PERL regexes. Actually what we support are Tcl (Henry Spencer) regexes, which are about as powerful as Perl's but have a few minor incompatibilities. Tcl and Perl regexes are both supersets of the POSIX requirements. regards, tom lane