myon@debian.org writes:
> select regexp_matches('foo/bar/baz',
> '^([^/]+?)(?:/([^/]+?))(?:/([^/]+?))?$', '');
> Correct 9.1 result:
> regexp_matches
> ----------------
> {foo,bar,baz}
> Bad 9.2 and later result:
> regexp_matches
> ----------------
> (0 rows)
Even better, it Asserts() in an assert-enabled build :-(.
Fixed, thanks for the report!
regards, tom lane