RE: regex failing

Поиск
Список
Период
Сортировка
От Zahir Lalani
Тема RE: regex failing
Дата
Msg-id DB9P251MB0546B428CE73A5D7ED8D1BEFA724A@DB9P251MB0546.EURP251.PROD.OUTLOOK.COM
обсуждение исходный текст
Ответ на Re: regex failing  (Sergey Fukanchik <fukanchik@gmail.com>)
Список pgsql-general
> -----Original Message-----
> >
> > Hi All
> >
> >
> >
> > Got a weird one. I am using the regex below to case match numeric only
> values.
> >
> >
> >
> > '^([0-9]+[.]?[0-9]*)$'
> >
> >
> >
> > This works well by and large but not for a value like “1234:567”. This seems
> to match positive and then fails due to not being an actual number in the
> subsequent cast.
> >
> >
> >
> > Any ideas? (PG13)
> >
> >
> >
> > Z
> >
> >

My apologies for wasting your time ☹

The issue was in an unrelated field!!

Thank you

Z


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

Предыдущее
От: Adrian Klaver
Дата:
Сообщение: Re: connect postgres using url
Следующее
От: Dominique Devienne
Дата:
Сообщение: LibPQ: PQresultMemorySize as proxy to transfered bytes