question about reg. expression - Mailing list pgsql-sql

From andrew1
Subject question about reg. expression
Date
Msg-id ih58f7$63u$1@speranza.aioe.org
Whole thread Raw
Responses Re: question about reg. expression
List pgsql-sql
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.


pgsql-sql by date:

Previous
From: Russell Galyon
Date:
Subject: Re: Help needed in skipping column for copy command
Next
From: Samuel Gendler
Date:
Subject: Re: question about reg. expression