Regular expressions syntax: is \ the escape character ? - Mailing list pgsql-general

From Gabriel Fernandez
Subject Regular expressions syntax: is \ the escape character ?
Date
Msg-id 38C00CD1.14DFE13A@unica.edu
Whole thread Raw
Responses Re: [GENERAL] Regular expressions syntax: is \ the escape character ?
List pgsql-general
Hi,

I'm using regular expressions in 6.5.3 version but i cannot find the
character to escape special caracters as ?, $, ^.

I've tried with \ but it doesn't works.

Example: i want to find the row with the value 'fisica?' and i do:

select title from libros where title ~* 'fisica\?' ;

but i also obtain rows with values:  'fisicamente' or 'fisicas'

What am i doing wrong ?

Thanks in advance.

Gabi :-)


pgsql-general by date:

Previous
From: "Abdelkrim WAHHABI"
Date:
Subject: system crash
Next
From: Charles Tassell
Date:
Subject: Re: [GENERAL] Illegal use of aggregates or non-group column in target list