Regular expression question with Postgres - Mailing list pgsql-general

From Mike Christensen
Subject Regular expression question with Postgres
Date
Msg-id CABs1bs3aaJPW1tyoY+esaHM8_ZYRoWOL=DmCaSfrWdZFFrWA9g@mail.gmail.com
Whole thread Raw
Responses Re: Regular expression question with Postgres  (David G Johnston <david.g.johnston@gmail.com>)
Re: Regular expression question with Postgres  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
I'm curious why this query returns 0:

SELECT 'AAA' ~ '^A{,4}$'

Yet, this query returns 1:

SELECT 'AAA' ~ '^A{0,4}$'

Is this a bug with the regular expression engine?  

pgsql-general by date:

Previous
From: Karsten Hilbert
Date:
Subject: Re: Table checksum proposal
Next
From: David G Johnston
Date:
Subject: Re: Regular expression question with Postgres