BUG #3788: POSIX regexp seems doesn't work for '(?!re) ' pattern - Mailing list pgsql-bugs

From Vitaly
Subject BUG #3788: POSIX regexp seems doesn't work for '(?!re) ' pattern
Date
Msg-id 200711291535.lATFZOC9064787@wwwmaster.postgresql.org
Whole thread Raw
Responses Re: BUG #3788: POSIX regexp seems doesn't work for '(?!re) ' pattern  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-bugs
The following bug has been logged online:

Bug reference:      3788
Logged by:          Vitaly
Email address:      vitaly.yakunin@gmail.com
PostgreSQL version: 8.3-beta3
Operating system:   WinXP
Description:        POSIX regexp seems doesn't work for '(?!re) ' pattern
Details:

SELECT author, type
  FROM books WHERE "type" ~ '(?!novel)';

This select work incorrect. It returns all types.

Work around:
SELECT author, type
  FROM books WHERE not ("type" ~ '(?=novel)');

pgsql-bugs by date:

Previous
From: "Usama Dar"
Date:
Subject: Re: BUG #3787: configure: error: readline library not found
Next
From: Tom Lane
Date:
Subject: Re: BUG #3788: POSIX regexp seems doesn't work for '(?!re) ' pattern