|
Lines 151-157
Link Here
|
| 151 |
emsg ? emsg : "unknown error"); |
151 |
emsg ? emsg : "unknown error"); |
| 152 |
goto tf_reg_compile_error; |
152 |
goto tf_reg_compile_error; |
| 153 |
} |
153 |
} |
| 154 |
n = pcre_info(ri->re, NULL, NULL); |
154 |
n = pcre_fullinfo(ri->re, NULL, 0, NULL); |
| 155 |
if (n < 0) goto tf_reg_compile_error; |
155 |
if (n < 0) goto tf_reg_compile_error; |
| 156 |
ri->ovecsize = 3 * (n + 1); |
156 |
ri->ovecsize = 3 * (n + 1); |
| 157 |
ri->ovector = dmalloc(NULL, sizeof(int) * ri->ovecsize, file, line); |
157 |
ri->ovector = dmalloc(NULL, sizeof(int) * ri->ovecsize, file, line); |