Hi Stipe,
looks ok to me, while untested at this point from my side.
+0 for commiting, some comments:
I know I should know, since I put all that PCRE stuff inside, but you seem to be
closed to the material at this point: Is the substitution syntax working for
POSIX.1 regex *and* PCRE? I recall POSIX.1 regex not beeing able to do
substitutes?
I read the note "please prefer PCRE over POSIX regex" :-)
However:
regex.h contains gw_regex_sub, while pcre.h is missing such a
substitution function.
Cheers,
Georg