Skip site navigation (1) Skip section navigation (2)

Re: Migrating between versions. Problem with regexp

From: Kaloyan Iliev Iliev <news1(at)faith(dot)digsys(dot)bg>
To: pgsql-general(at)postgresql(dot)org
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Subject: Re: Migrating between versions. Problem with regexp
Date: 2004-08-29 15:17:13
Message-ID: 4131F379.4080207@faith.digsys.bg (view raw or flat)
Thread:
Lists: pgsql-general
Thank you
     Kaloyan



Tom Lane wrote:

>Kaloyan Iliev Iliev <news1(at)faith(dot)digsys(dot)bg> writes:
>  
>
>>libvar=# select '\\a\\à\\à\\.' ~ '\\a\\à\\à\\.';
>>ERROR:  invalid regular expression: invalid escape \ sequence
>>    
>>
>
>7.4 and later are stricter about the use of \ than prior versions; see 
>http://www.postgresql.org/docs/7.4/static/functions-matching.html#POSIX-ESCAPE-SEQUENCES
>You could go back to (approximately) the old behavior by changing
>regex_flavor to "extended".
>
>			regards, tom lane
>
>
>  
>

In response to

pgsql-general by date

Next:From: Kaloyan Iliev IlievDate: 2004-08-29 16:12:26
Subject: Re: Migrating between versions. Problem with regexp
Previous:From: Tom LaneDate: 2004-08-29 14:14:53
Subject: Re: Migrating between versions. Problem with regexp

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group