BUG #4438: regexpression gives the error by working with [ - Mailing list pgsql-bugs

From Anatoli Lau
Subject BUG #4438: regexpression gives the error by working with [
Date
Msg-id 200809270046.m8R0kVOl089367@wwwmaster.postgresql.org
Whole thread Raw
Responses Re: BUG #4438: regexpression gives the error by working with [
List pgsql-bugs
The following bug has been logged online:

Bug reference:      4438
Logged by:          Anatoli Lau
Email address:      ailau@sharematrix.com
PostgreSQL version: 8.3.3, 8.3.4
Operating system:   Linux Suse 10.3
Description:        regexpression gives the error by working with [
Details:

select regexp_matches('/a/b[534]', E'(.*)\[([0-9]*)\]');
always gives the error but
select regexp_matches('/a/b{534}', E'(.*)\{([0-9]*)\}');
works good, the problems comes up only when '[' used

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: Incorrect "invalid AM/PM string" error from to_timestamp
Next
From: hubert depesz lubaczewski
Date:
Subject: Re: BUG #4438: regexpression gives the error by working with [