pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tena Sakai <tsakai@gallo.ucsf.edu>
To: Dirk Jagdmann <jagdmann@gmail.com>
To: Pavel Stehule <pavel.stehule@gmail.com>
Cc: pgsql-sql@postgresql.org <pgsql-sql@postgresql.org>
Subject: Re: please help me on regular expression
Date: Wed, 3 Feb 2010 12:32:11 -0800
Message-ID: <C78F1F2A.921D%tsakai@gallo.ucsf.edu> (raw)
In-Reply-To: <5d0f60991002031143t404064e6m597dd0eb187cbf62@mail.gmail.com>

Thank you, Dirk.

Regards,

Tena Sakai
tsakai@gallo.ucsf.edu


On 2/3/10 11:43 AM, "Dirk Jagdmann" <jagdmann@gmail.com> wrote:

> Be careful when working with backslashes and regular expressions for
> the proper (double) escaping!
> 
> # select '70a5' ~ e'\\d+\.\\d+';
>  ?column?
> ----------
>  t
> (1 row)
> 
> # select '70a5' ~ e'\\d+\\.\\d+';
>  ?column?
> ----------
>  f
> (1 row)
> 
> # select '70.5' ~ e'\\d+\\.\\d+';
>  ?column?
> ----------
>  t




view thread (8+ messages)  latest in thread

Message-ID: <C78F1F2A.921D%tsakai@gallo.ucsf.edu>
Permalink:  ../C78F1F2A.921D%25tsakai@gallo.ucsf.edu/
Also on:    postgresql.org/message-id/C78F1F2A.921D%tsakai@gallo.ucsf.edu

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: tsakai@gallo.ucsf.edu, jagdmann@gmail.com, pavel.stehule@gmail.com
  Subject: Re: please help me on regular expression
  In-Reply-To: <C78F1F2A.921D%tsakai@gallo.ucsf.edu>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox