| От | Tom Lane |
|---|---|
| Тема | Re: Inside the Regex Engine |
| Дата | |
| Msg-id | 26761.1070424342@sss.pgh.pa.us обсуждение |
| Ответ на | Inside the Regex Engine (david@fetter.org (David Fetter)) |
| Ответы |
Re: Inside the Regex Engine
|
| Список | pgsql-hackers |
david@fetter.org (David Fetter) writes:
> While PL/Perl is great, it's not available everywhere, and I'd like to
> be able to grab atoms from a regex match in, say, a SELECT. Is there
> some way to get access to them?
There's a three-parameter variant of substring() that allows extraction
of a portion of a regex match --- unfortunately it uses SQL99's
brain-dead notion of regex, which will not satisfy any Perl weenie :-(
I think it'd be worth our while to define some comparable functionality
that depends only on the POSIX regex engine ...
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера