Re: Selection ganzer Worte per regexp Suche

Stefan Kaltenbrunner <[email protected]>
Newsgroups gmane.comp.db.postgresql.german
Message-ID <[email protected]>
On 07/16/2013 10:40 AM, Andreas Tille wrote:
> Hallo Peter,
> 
> On Thu, Jul 11, 2013 at 01:39:08PM -0400, Peter Eisentraut wrote:
>> On 7/11/13 11:07 AM, Andreas Tille wrote:
>>> SELECT * FROM test WHERE data ~ '.*\babc\b.*' ;
>>>
>>> liefert nichts - scheinbar ist '\b' (Wortgrenze) nicht implementiert.
>>
>> Aus mir unerklärlichen Gründen heißt das hier \y:
>>
>> SELECT * FROM test WHERE data ~ '\yabc\y';
> 
> Das würde ich eher als Bug denn als Feature bezeichnen - schon auf Grund
> der Tatsache, daß man die Information kaum irgendwo finden kann. 


postgresql verwendet die regex engine von henry spencer in TCL:


http://wiki.tcl.tk/1344


Stefan


-- 
Sent via pgsql-de-allgemein mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-de-allgemein
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.