From: Samuel J. Sutjiono <ssutjiono@wc-group.com>
To: pgsql-sql@postgresql.org
To: pgsql-general@postgresql.org
Subject: Regular Expression for 'and' instead of 'or'
Date: Fri, 22 Feb 2002 12:04:38 -0500
Message-ID: <023101c1bbc3$03a33910$110a010a@headquarters.wcgroup.com> (raw)
This expression matches the word socks or shoes or nike in product category
where productdescr ~* '(socks|shoes|nike)'
Does anybody know what the expression should be if I want to do 'and' of those key words instead of 'or' ?
Thanks,
Sam
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: ssutjiono@wc-group.com, pgsql-general@postgresql.org
Subject: Re: Regular Expression for 'and' instead of 'or'
In-Reply-To: <023101c1bbc3$03a33910$110a010a@headquarters.wcgroup.com>
* 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