pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tim Landscheidt <tim@tim-landscheidt.de>
To: pgsql-sql@postgresql.org
Subject: Re: Extending Regular Expression bounds limit of 255.
Date: Sat, 29 May 2010 18:56:49 +0000
Message-ID: <m38w72y1se.fsf@passepartout.tim-landscheidt.de> (raw)
References: <AANLkTinSlZ_53lw9hAzQTd4bSFlR1_jmzgpbvTSYc3oi@mail.gmail.com>
	<AANLkTimcCsHFFlknF_KBXV5mPTqLrW_LhST0GN4ONOYC@mail.gmail.com>
	<AANLkTil49TqqzY3yQQFU-gGNT4KaVUjz1o5QHQGcYLZg@mail.gmail.com>
	<AANLkTikbjNOsDwlnfUcjS9G2CzgWcnp8NpS48v9m_TSp@mail.gmail.com>
	<htqq7f$4g9$2@reversiblemaps.ath.cx>

Jasen Betts <jasen@xnet.co.nz> wrote:

>> It looks like most of our tools are using the Perl version of regular
>> expressions with an upper limit of a bound being 32766.  Is there any way to
>> change this in PG?  Or can I change from POSIX to Perl?

> perhaps you can do something in pl-perl?

> posix regular expressions are different to perl regular expressions in
> several ways.

Another last resort possibility would of course be to "pre-
compile" the regular expressions from "A{2000}" to
"A{255}A{255}A{255}A{255}A{255}A{255}A{255}A{215}" (with the
headaches of "A{1000,2000}" left as an exercise to the read-
er :-)).

Tim




view thread (9+ messages)  latest in thread

Message-ID: <m38w72y1se.fsf@passepartout.tim-landscheidt.de>
Permalink:  ../m38w72y1se.fsf@passepartout.tim-landscheidt.de/
Also on:    postgresql.org/message-id/m38w72y1se.fsf@passepartout.tim-landscheidt.de

 · 

reply

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: tim@tim-landscheidt.de
  Subject: Re: Extending Regular Expression bounds limit of 255.
  In-Reply-To: <m38w72y1se.fsf@passepartout.tim-landscheidt.de>

* 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