Re: Regex "embedded options" does only work on the whole pattern?

Поиск
Список
Период
Сортировка
От David G. Johnston
Тема Re: Regex "embedded options" does only work on the whole pattern?
Дата
Msg-id CAKFQuwYO-SvGk=x-y_85bqfqR-fkrp2eH35Gs+Y342KUAOJwYw@mail.gmail.com
обсуждение исходный текст
Ответ на Regex "embedded options" does only work on the whole pattern?  (matshyeq <matshyeq@gmail.com>)
Список pgsql-general
On Sun, Jan 3, 2016 at 8:49 AM, matshyeq <matshyeq@gmail.com> wrote:
Does that mean these "EMBEDDED OPTIONS" can be only defined at the beginning of the pattern and therefore don't offer anything extra over flags option?

​Yes, this is how they behave.  The most important difference is that:

column ~ 'regex'  (i.e., the operator)

can only accept embedded switches since there is no place to write a formal flag like you can with the functions.

​Though there is a case-insensitive operator as a usability feature the other modes lack any external operator support.

David J.

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

Предыдущее
От: matshyeq
Дата:
Сообщение: Regex "embedded options" does only work on the whole pattern?
Следующее
От: Venkatesulu Jumbo
Дата:
Сообщение: Re: PostgreSQL GUI tools