private IEnumerable<UriMatchRegex> GetAndCacheUriMatchRegexes()
{
return _generatedUriMatchRegexes ?? (_generatedUriMatchRegexes = WildcardUriMatches
.Select(uriMatch =>
new UriMatchRegex(uriMatch, new WildcardRegex(FixUriBugs(uriMatch.Root.ToString().TrimEnd('*') + '*'), RegexOptions.IgnoreCase | RegexOptions.Compiled))));
}