Re: question regarding regular expressions

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Cindy <ctmoore(at)uci(dot)edu>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: question regarding regular expressions
Date: 2002-09-16 19:58:36
Message-ID: 1097.1032206316@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Cindy <ctmoore(at)uci(dot)edu> writes:
> If I've got something like "...AND citation ~ 'x[0-9]*'..." in my
> query, is there any way to extract the portion that matched?

Not in SQL --- but you could easily write a plperl or pltcl function
to do that.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message phil young 2002-09-16 20:14:45 problems compiling pgsql
Previous Message Tino Wildenhain 2002-09-16 19:45:46 Re: find overlapping address ranges