withSIX.Play.Core.Games.Legacy.ServerQuery.ServerMapper.GetRx C# (CSharp) Method

GetRx() static private method

static private GetRx ( string keyWord ) : Regex
keyWord string
return System.Text.RegularExpressions.Regex
        static Regex GetRx(string keyWord) {
            Regex rx;
            if (rxCache.TryGetValue(keyWord, out rx))
                return rx;
            return
                rxCache[keyWord] =
                    new Regex(@"^" + keyWord + @":([0-9]+)\-([0-9]+)$", RegexOptions.Compiled | RegexOptions.IgnoreCase);
        }