Re: Extending Regular Expression bounds limit of 255. - Mailing list pgsql-sql

From Tim Landscheidt
Subject Re: Extending Regular Expression bounds limit of 255.
Date
Msg-id m38w72y1se.fsf@passepartout.tim-landscheidt.de
Whole thread Raw
In response to Extending Regular Expression bounds limit of 255.  (Brent DeSpain <bd.postgres@gmail.com>)
List pgsql-sql
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



pgsql-sql by date:

Previous
From: Jasen Betts
Date:
Subject: Re: Extending Regular Expression bounds limit of 255.
Next
From: Jasen Betts
Date:
Subject: Re: Extending Regular Expression bounds limit of 255.