Re: opposite of chr(int)

From: Richard Broersma <richard(dot)broersma(at)gmail(dot)com>
To: Henry Drexler <alonup8tb(at)gmail(dot)com>
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: opposite of chr(int)
Date: 2011-10-07 15:15:38
Message-ID: CABvLTWFzir-4h0QrK=2BxD3PmBrnx=gNZkZQTgVY7BpcfCF5QA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

On Thu, Oct 6, 2011 at 2:49 PM, Henry Drexler <alonup8tb(at)gmail(dot)com> wrote:
> So it is saying look past seven characters "^.{7}" and check that next
> character if it is an interger "\d"
> Is that a correct narrative for what is going on?

Well almost. I read it as:

Test to see if a pattern exists where

'^' from the beginning of the text string
'.{7}' match exactly seven characters what ever they happen to be
'\d' next match exact one numeric character
and then if found ignore the remainder of the string.

--
Regards,
Richard Broersma Jr.

In response to

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Henry Drexler 2011-10-07 16:33:12 Re: opposite of chr(int)
Previous Message Henry Drexler 2011-10-06 21:49:06 Re: opposite of chr(int)