Description
Specifically the block of code is here - https://github.com/apache/trafficserver/blob/master/plugins/regex_remap/regex_remap.cc#L802-806
*(match_buf + match_len) = '/';
if (req_url.path && req_url.path_len > 0)
So if req_url.path is empty (e.g. in the case of http://www.xyx.com/ being the request url), match_len will not increment by 1.
so e.g. there won't be a match for this case for the regular expression of '^/$'