ngx_http_graphite_get_source():
Starting nginx v1.21.5 ngx_regex_exec() is a function, not a macro.
The function accepts (ngx_str_t) as the second parameter, not
(const ngx_str_t). But actually the function doesn't modify the
structure, so we can safely cast a pointer.
ngx_http_graphite_get_source(): Starting nginx v1.21.5 ngx_regex_exec() is a function, not a macro. The function accepts (ngx_str_t) as the second parameter, not (const ngx_str_t). But actually the function doesn't modify the structure, so we can safely cast a pointer.
Fixes #47