"Rui Martins" <[EMAIL PROTECTED]> writes: > But the sub-expression did "match" !
No, the sub-expression "(something)" did not match. What did match is the larger expression "(something)?". You seem to be failing to recognize that these are two different things. If you put the capturing parentheses around the larger expression then you will get the result you want. regards, tom lane -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs