Пример #1
0
 public static string Replace(string input, string pattern, string replacement)
 {
     return(RegexCache.Get(pattern, RegexOptions.None).Replace(input, replacement));
 }
Пример #2
0
 public FastRegex(string pattern)
 {
     re = RegexCache.Get(pattern, RegexOptions.None);
 }
Пример #3
0
 public static bool IsMatch(string input, string pattern)
 {
     return(RegexCache.Get(pattern, RegexOptions.None).IsMatch(input));
 }
Пример #4
0
 public FastRegex(string pattern, RegexOptions options)
 {
     re = RegexCache.Get(pattern, options);
 }