Hi Thom:
On Sat, Oct 25, 2014 at 11:55 AM, Thom Brown wrote:
> Ah, I knew I missed something:
>
> # SELECT regexp_matches('postgres','(?:g)(r)');
>
...snip, snip...
Yes. It's one fo the things I strongly dislike of some of the semantics of
postgres ( and others ) regular engine functions. Their
On 25 October 2014 11:49, Francisco Olarte wrote:
> Hi Thom:
>
> On Sat, Oct 25, 2014 at 11:24 AM, Thom Brown wrote:
>
>> It must be that I haven't had enough caffeine today, but I can't figure
>> out why the following expression captures the non-capturing part of the
>> text:
>> # SELECT regexp
Hi all,
It must be that I haven't had enough caffeine today, but I can't figure out
why the following expression captures the non-capturing part of the text:
# SELECT regexp_matches('postgres','(?:g)r');
regexp_matches
{gr}
(1 row)
I'm expecting '{r}' in the output as I though