static private GetRx ( string keyWord ) : |
||
keyWord | string | |
return |
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);
}