|
From: Christian S. <ca...@kr...> - 2003-04-27 13:51:53
|
hi there!
I want to have regexec parse a string by a re that I wrote.
that works fine.
but I want further to have an array resulting, that holds each
parenthesized subexpression found/not found in the string.
I reccon that is done by the 3rd and 4th argument to regexec, but I need
to see some example of how to declare and then use those arguments.
something like: printf("//%s//%s",match[0],match[1]);
google brought me a lot of examples which all ignore those matches..
so please.. =)
regards
/christian
|