"Darko Prenosil" <Darko(dot)Prenosil(at)finteh(dot)hr> writes:
> OK, I got it work, but I don't think that this way would be acceptable:
> I downloaded GNU regex.c and regex.h and included it into tsearch2 sources.
You're right. We're not going to accept a contrib module containing its
own regex engine when there's already a perfectly good one in the
backend. See src/backend/regex.
regards, tom lane