regex failing

Поиск
Список
Период
Сортировка
От Zahir Lalani
Тема regex failing
Дата
Msg-id DB9P251MB0546762BBFBA3476E8DE2635A727A@DB9P251MB0546.EURP251.PROD.OUTLOOK.COM
обсуждение исходный текст
Ответ на Re: bug or lacking doc hint  (Kirk Wolak <wolakk@gmail.com>)
Ответы Re: regex failing
Re: regex failing
Re: regex failing
Список pgsql-general

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

 

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

Предыдущее
От: Jeremy Schneider
Дата:
Сообщение: Re: typical active table count?
Следующее
От: Ron
Дата:
Сообщение: Re: typical active table count?