pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Herouth Maoz <herouth@oumail.openu.ac.il>
To: pgsql-sql@postgreSQL.org
Subject: Re[2]: [SQL] How to Make Case InSensitive???
Date: Wed, 16 Sep 1998 16:42:36 +0200
Message-ID: <l03110703b2257e356866@[147.233.159.109]> (raw)
In-Reply-To: <10676.980916@bo.nettuno.it>
References: <19980916134810.21155.rocketmail@send101.yahoomail.com>

At 16:14 +0200 on 16/9/98, Sferacarta Software wrote:


> regular expression operators ^ stand for first character and $ stand
> for last character:
>
>     ~* '^india$'
>
> matches  India
>          india
>          INDIA
>
> but not  Indiana
>          New India

Another way to think of it is like this:

'india'      is eqivalent to       "contains 'india'"
'^india'     is eqivalent to       "starts with 'india'"
'india$'     is eqivalent to       "ends with 'india'"
'^india$'    is eqivalent to       "is exactly 'india'"

Herouth

--
Herouth Maoz, Internet developer.
Open University of Israel - Telem project
http://telem.openu.ac.il/~herutma





view thread (2+ messages)

Message-ID: <l03110703b2257e356866@[147.233.159.109]>
Permalink:  ../l03110703b2257e356866@%5B147.233.159.109%5D/
Also on:    postgresql.org/message-id/l03110703b2257e356866@[147.233.159.109]

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-sql@postgresql.org
  Cc: herouth@oumail.openu.ac.il
  Subject: Re: [SQL] How to Make Case InSensitive???
  In-Reply-To: <l03110703b2257e356866@[147.233.159.109]>
  References: <19980916134810.21155.rocketmail@send101.yahoomail.com> <l03110703b2257e356866@[147.233.159.109]>

* 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