Rebel.Hive.Configuration.ProviderMappingGroup.GetAndCacheUriMatchRegexes C# (CSharp) Method

GetAndCacheUriMatchRegexes() private method

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