From: Tom Lane <tgl@sss.pgh.pa.us>
To: Erik Jones <erik@myemma.com>
Cc: weigelt@metux.de, pgsql-sql <pgsql-sql@postgresql.org>
Subject: Re: Finding broken regex'es
Date: Tue, 02 Oct 2007 23:48:09 -0400
Message-ID: <1595.1191383289@sss.pgh.pa.us> (raw)
In-Reply-To: <51E80F93-35D0-41A0-B9C0-A256A806C971@myemma.com>
References: <20071002202313.GB18506@nibiru.local>
<51E80F93-35D0-41A0-B9C0-A256A806C971@myemma.com>
Erik Jones <erik@myemma.com> 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: tgl@sss.pgh.pa.us, erik@myemma.com
Subject: Re: Finding broken regex'es
In-Reply-To: <1595.1191383289@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox