Patch: regexp_matches variant returning an array of matching positions

Поиск
Список
Период
Сортировка
От Björn Harrtell
Тема Patch: regexp_matches variant returning an array of matching positions
Дата
Msg-id CANhDX=bc5VnJVByefeDu5+Kaxd7jsAb1R9JQDSzF=w1eRiEZ6Q@mail.gmail.com
обсуждение исходный текст
Ответы Re: Patch: regexp_matches variant returning an array of matching positions  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Список pgsql-hackers
I've written a variant of regexp_matches called regexp_matches_positions which instead of returning matching substrings will return matching positions. I found use of this when processing OCR scanned text and wanted to prioritize matches based on their position.

The patch is for discussion. I'd also appriciate general suggestions as this is my first experience with the postgresql code base.

The patch is against the master branch and includes a simple regression test.
Вложения

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

Предыдущее
От: Josh Berkus
Дата:
Сообщение: Re: jsonb and nested hstore
Следующее
От: Greg Stark
Дата:
Сообщение: Re: proposal: hide application_name from other users