Regex bug - Mailing list pgsql-bugs

From David Fetter
Subject Regex bug
Date
Msg-id 20040806171359.GG27306@fetter.org
Whole thread Raw
Responses Re: Regex bug
List pgsql-bugs
Kind people,

Here's a symptom as reported by John Hansen aka applejack:

SELECT 'r'||'\000\125'||'hello' ~ '^.hello' AS "OMG";
 OMG
-----
 t
(1 row)

I have produced this behavior in 7.4.3 and CVS tip.

This should be false, shouldn't it?

Cheers,
D
--
David Fetter david@fetter.org http://fetter.org/
phone: +1 510 893 6100   mobile: +1 415 235 3778

Remember to vote!

pgsql-bugs by date:

Previous
From: "Donald Fraser"
Date:
Subject: Notifications in JDBC driver not correct for V3 protocol
Next
From: Tom Lane
Date:
Subject: Re: Regex bug