Regexp matching: bug or operator error? - Mailing list pgsql-general

From Ken Tanzer
Subject Regexp matching: bug or operator error?
Date
Msg-id 41A3C6C6.2090605@desc.org
Whole thread Raw
Responses Re: Regexp matching: bug or operator error?  (Thomas Hallgren <thhal@mailblocks.com>)
Re: Regexp matching: bug or operator error?  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
Using Postgres V. 7.4.1, the following query:

    SELECT substring('X12345X' FROM '.*?([0-9]{1,5}).*?');

Returns '1'.  I would expect it to return '12345'.  Is this a bug, or am
I missing something?  Thanks.

Attachment

pgsql-general by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: Upcoming Changes to News Server ...
Next
From: "Gary L. Burnore"
Date:
Subject: Re: Upcoming Changes to News Server ...