Re: Why this regexp matches?!

Поиск
Список
Период
Сортировка
От hubert depesz lubaczewski
Тема Re: Why this regexp matches?!
Дата
Msg-id 20120204195837.GA3006@depesz.com
обсуждение исходный текст
Ответ на Re: Why this regexp matches?!  (Alban Hertroys <haramrae@gmail.com>)
Ответы Re: Why this regexp matches?!
Список pgsql-general
On Sat, Feb 04, 2012 at 07:31:25PM +0100, Alban Hertroys wrote:
> > I know that Pg regexps are limited, but even grep's regexps match this
>
> Limited? They're really not. According to the docs they are beyond
> POSIX compliant, even including several extensions as they appear in,
> among others, Perl. That said, the docs do mention a known limitation
> with braces and forward-references - maybe this is related.

Limited - because (for example) Pg regexps, are the only regexp flavour
that I know that you can't have both greedy and non-greedy operators in
the same expression.

depesz

--
The best thing about modern society is how easy it is to avoid contact with it.
                                                             http://depesz.com/

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

Предыдущее
От: Alban Hertroys
Дата:
Сообщение: Re: Why this regexp matches?!
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Why this regexp matches?!