Re: regular expression question - Mailing list pgsql-general

From Martijn van Oosterhout
Subject Re: regular expression question
Date
Msg-id 20020618161934.B2446@svana.org
Whole thread Raw
In response to Re: regular expression question  (David Ford <david+cert@blue-labs.org>)
Responses Re: regular expression question
List pgsql-general
On Tue, Jun 18, 2002 at 12:48:10AM -0400, David Ford wrote:
> Yes, and honestly I rather prefer the POSIX syntax in most cases, but I
> do like some of the shorthands, i.e. < (or \<) is so much easier to type
> than "[[:<:]]", and the same for > v.s. "[[:>:]]".  That's just silly.
>  This by the way is an extension.

I must admit that perl has some nice regex extensions and it would be nice
if postgres could use them (via libpcre). Then you could use \b, \s, \w,
etc.

However, Having looked into the regex language proposed for Perl 6, I think
that's going way over the top. Perl 5 is fine.
--
Martijn van Oosterhout   <kleptog@svana.org>   http://svana.org/kleptog/
> There are 10 kinds of people in the world, those that can do binary
> arithmetic and those that can't.

pgsql-general by date:

Previous
From: Martijn van Oosterhout
Date:
Subject: Re: Accessing another db?
Next
From: Ma Siva Kumar
Date:
Subject: Enclosing values in single quotes