matching against a list of regexp? - Mailing list pgsql-general

From Gauthier, Dave
Subject matching against a list of regexp?
Date
Msg-id 482E80323A35A54498B8B70FF2B8798004D5AB1CF1@azsmsx504.amr.corp.intel.com
Whole thread Raw
Responses Re: matching against a list of regexp?  (Richard Broersma <richard.broersma@gmail.com>)
List pgsql-general

Hi:

 

I need to be able to select all records with a col value that matches any of a list of regexp.  Sort of like...

 

select a,b,c from foo where d ~ ('^xyz','blah','shrug$');

 

Does anyone know the right syntax for this?

 

Thanks!

pgsql-general by date:

Previous
From: Ben Chobot
Date:
Subject: Re: WAL file size vs. data file size
Next
From: Richard Broersma
Date:
Subject: Re: matching against a list of regexp?