MCPcopy Create free account
hub / github.com/apache/trafficserver / parse_regex

Method parse_regex

include/proxy/hdrs/URL.h:785–791  ·  view source on GitHub ↗

Parser doesn't clear URL first, so if you parse over a non-clear URL, the resulting URL may contain some of the previous data. */

Source from the content-addressed store, hash-verified

783
784 */
785inline ParseResult
786URL::parse_regex(std::string_view url)
787{
788 ink_assert(valid());
789 const char *str = url.data();
790 return url_parse_regex(m_heap, m_url_impl, &str, str + url.length(), COPY_STRINGS);
791}
792
793/**
794 Parser doesn't clear URL first, so if you parse over a non-clear URL,

Callers 2

remap_parse_config_btiFunction · 0.80
test_parseFunction · 0.80

Calls 3

url_parse_regexFunction · 0.85
dataMethod · 0.45
lengthMethod · 0.45

Tested by 1

test_parseFunction · 0.64