How to allow null as an option when using regexp_matches?

Поиск
Список
Период
Сортировка
От Shaozhong SHI
Тема How to allow null as an option when using regexp_matches?
Дата
Msg-id CA+i5JwYMPY1PwACzD4tLn0PdXuyRXBF9x+d38QfzJ1kMkRet5A@mail.gmail.com
обсуждение исходный текст
Ответы Re: How to allow null as an option when using regexp_matches?  (Karsten Hilbert <Karsten.Hilbert@gmx.net>)
Re: How to allow null as an option when using regexp_matches?  (Roxanne Reid-Bennett <rox@tara-lu.com>)
Список pgsql-general
We can do this:
select count(*) from regexp_matches('Great London', 'Great London|Information Centre|Department for Transport', 'g');

Is it possible to allow null as an option?  something like this 
select count(*) from regexp_matches('Great London', 'null|Great London|Information Centre|Department for Transport', 'g');

Regards,

David

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

Предыдущее
От: "Peter J. Holzer"
Дата:
Сообщение: Re: Working with fixed-point calculations in C
Следующее
От: Karsten Hilbert
Дата:
Сообщение: Re: How to allow null as an option when using regexp_matches?