Re: greedy or not? regexps... - Mailing list pgsql-general

From Tom Lane
Subject Re: greedy or not? regexps...
Date
Msg-id 17574.1172241995@sss.pgh.pa.us
Whole thread Raw
In response to greedy or not? regexps...  ("Anton Melser" <melser.anton@gmail.com>)
Responses Re: greedy or not? regexps...  ("Anton Melser" <melser.anton@gmail.com>)
List pgsql-general
"Anton Melser" <melser.anton@gmail.com> writes:
> I am trying to understand the function substring.

You haven't actually said anything that sounded surprising; and in any
case, without seeing the data being operated on, we can't comment much
on what's happening.  I will note that '=([0-9]*)' is going to match
to the *first* "=" in the string, whether there happen to be any digits
after it or not, because the *-construct can match zero characters.

            regards, tom lane

pgsql-general by date:

Previous
From: Marek Lewczuk
Date:
Subject: Re: Warning "TupleDesc reference leak"
Next
From: "Karl O. Pinc"
Date:
Subject: Re: Supported plpgsql BEFORE ... EACH ROW behavior