Re: opposite of chr(int) - Mailing list pgsql-novice

From Richard Broersma
Subject Re: opposite of chr(int)
Date
Msg-id CABvLTWFzir-4h0QrK=2BxD3PmBrnx=gNZkZQTgVY7BpcfCF5QA@mail.gmail.com
Whole thread Raw
In response to Re: opposite of chr(int)  (Henry Drexler <alonup8tb@gmail.com>)
Responses Re: opposite of chr(int)  (Henry Drexler <alonup8tb@gmail.com>)
List pgsql-novice
On Thu, Oct 6, 2011 at 2:49 PM, Henry Drexler <alonup8tb@gmail.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.

pgsql-novice by date:

Previous
From: Henry Drexler
Date:
Subject: Re: opposite of chr(int)
Next
From: Henry Drexler
Date:
Subject: Re: opposite of chr(int)