Re: opposite of chr(int)

Поиск
Список
Период
Сортировка
От Henry Drexler
Тема Re: opposite of chr(int)
Дата
Msg-id CAAtgU9TC+4+dfgKe2dn5V+Co72vHGedV=FzNU1evwsJ8Th_cGA@mail.gmail.com
обсуждение исходный текст
Ответ на opposite of chr(int)  (Henry Drexler <alonup8tb@gmail.com>)
Ответы Re: opposite of chr(int)
Список pgsql-novice


On Thu, Oct 6, 2011 at 3:57 PM, Richard Broersma <richard.broersma@gmail.com> wrote:

SELECT 'wallawa9kl' ~ '^.{7}\d';

--
Regards,
Richard Broersma Jr.


Richard, could you tell me if I have interpreted your above expression correctly.


I believe this is saying
     ~ matches
     ^. starts with seven preceding characters
     \d represents a digit

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?

В списке pgsql-novice по дате отправления:

Предыдущее
От: Merlin Moncure
Дата:
Сообщение: Re: opposite of chr(int)
Следующее
От: Richard Broersma
Дата:
Сообщение: Re: opposite of chr(int)