On 2012-02-04, hubert depesz lubaczewski <depesz@xxxxxxxxxx> wrote: > select 'depesz depeszx depesz' ~ E'^(.*)( \\1)+$'; > > what's worse: > $ select regexp_replace( 'depesz depeszx depesz', E'^(.*)( \\1)+$', E'\\1' ); > regexp_replace > ──────────────── > depesz > (1 row) > > I know that Pg regexps are limited, but even grep's regexps match this > correctly: whose grep? Postgres is BSD licence and that means they can't use the latest and greatest GPL libraries. -- ⚂⚃ 100% natural -- Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general