MCPcopy Create free account
hub / github.com/apache/httpd / ap_pregsub

Function ap_pregsub

server/util.c:457–467  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

455#define AP_PREGSUB_MAXLEN (HUGE_STRING_LEN * 8)
456#endif
457AP_DECLARE(char *) ap_pregsub(apr_pool_t *p, const char *input,
458 const char *source, apr_size_t nmatch,
459 ap_regmatch_t pmatch[])
460{
461 char *result;
462 apr_status_t rc = regsub_core(p, &result, NULL, input, source, nmatch,
463 pmatch, AP_PREGSUB_MAXLEN);
464 if (rc != APR_SUCCESS)
465 result = NULL;
466 return result;
467}
468
469AP_DECLARE(apr_status_t) ap_pregsub_ex(apr_pool_t *p, char **result,
470 const char *input, const char *source,

Callers 7

ldap_determine_binddnFunction · 0.85
ap_proxy_trans_matchFunction · 0.85
try_alias_listFunction · 0.85
process_regexpFunction · 0.85
spot_cookieFunction · 0.85
match_headersFunction · 0.85
ap_rxplus_execFunction · 0.85

Calls 1

regsub_coreFunction · 0.85

Tested by

no test coverage detected