| От | Tom Lane |
|---|---|
| Тема | Re: regexp_matches and regexp_split are inconsistent |
| Дата | |
| Msg-id | 12786.1186968003@sss.pgh.pa.us обсуждение |
| Ответ на | Re: regexp_matches and regexp_split are inconsistent (Stephan Szabo <sszabo@megazone.bigpanda.com>) |
| Список | pgsql-hackers |
Stephan Szabo <sszabo@megazone.bigpanda.com> writes:
> On Fri, 10 Aug 2007, Tom Lane wrote:
>> Is this what we want? Arguably regexp_split is doing the most
>> reasonable thing for its intended usage, but the strict definition of
>> regexp matching seems to require what regexp_matches does. I think
>> we need to either change one function to match the other, or else
>> document the inconsistency.
> I'm not sure how many languages do this, but at least perl seems to work
> similarly, which makes me guess that it's probably similar in a bunch of
> languages. If it is, then we should probably just document the
> inconsistency.
The Perl precedent is good enough for me. Documented...
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера