From: andrew1 <andrew1@mytrashmail.com>
To: pgsql-sql@postgresql.org
Subject: question about reg. expression
Date: Tue, 18 Jan 2011 18:41:20 -0500
Message-ID: <ih58f7$63u$1@speranza.aioe.org> (raw)
hi all,
these return t:
select 'ab' ~ '[a-z]$'
select 'ab' ~ '^[a-z]'
select 'ab' ~ '^[a-z]$' returns f
Can't I use ^ and $ at the same time to match, in this case?
thanks.
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: andrew1@mytrashmail.com
Subject: Re: question about reg. expression
In-Reply-To: <ih58f7$63u$1@speranza.aioe.org>
* 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