BUG #4438: regexpression gives the error by working with [

From: "Anatoli Lau" <ailau(at)sharematrix(dot)com>
To: pgsql-bugs(at)postgresql(dot)org
Subject: BUG #4438: regexpression gives the error by working with [
Date: 2008-09-27 00:46:31
Message-ID: 200809270046.m8R0kVOl089367@wwwmaster.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs


The following bug has been logged online:

Bug reference: 4438
Logged by: Anatoli Lau
Email address: ailau(at)sharematrix(dot)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

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message hubert depesz lubaczewski 2008-09-27 07:55:58 Re: BUG #4438: regexpression gives the error by working with [
Previous Message Tom Lane 2008-09-26 15:36:08 Re: Incorrect "invalid AM/PM string" error from to_timestamp