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
обсуждение исходный текст
Ответ на 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.
Список pgsql-hackers
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 по дате отправления: