q_strdup
ret.pattern = q_strdup(str);
ret.result = q_strdup(str);
q_strdup (str)
static char * q_strdup ( char * );
*q_strdup();