Re: change regexp_substr first argument make tests more easier to understand.
От
Ilia Evdokimov
Тема
Re: change regexp_substr first argument make tests more easier to understand.
Дата
Msg-id
396935e9-f111-49a1-a5c7-eb91e5fcc714@tantorlabs.com
Ответ на
Список
Дерево обсуждения
change regexp_substr first argument make tests more easier to understand. jian he <jian.universality@gmail.com>
Re: change regexp_substr first argument make tests more easier to understand. jian he <jian.universality@gmail.com>
Re: change regexp_substr first argument make tests more easier to understand. Tomas Vondra <tomas.vondra@enterprisedb.com>
Re: change regexp_substr first argument make tests more easier to understand. jian he <jian.universality@gmail.com>
Re: change regexp_substr first argument make tests more easier to understand. Ilia Evdokimov <ilya.evdokimov@tantorlabs.com>
Re: change regexp_substr first argument make tests more easier to understand. Tom Lane <tgl@sss.pgh.pa.us>
Hi everybody
Current tests with regexp_instr() and regexp_substr() with string
'abcabcabc' are really unreadable and you would spend time to understand
that happens in these tests and if they are really correct. I'd better
change them into "abcdefghi" just like in query
SELECT regexp_substr('abcdefghi', 'd.q') IS NULL AS t;
Regards
Ilia Evdokimov,
Tantor Labs LLC.
В списке pgsql-hackers по дате отправления
От: Bertrand Drouvot
Дата: