Esempio n. 1
0
 public static string Replace(string input, string pattern, string replacement)
 {
     return(RegexCache.Get(pattern, RegexOptions.None).Replace(input, replacement));
 }
Esempio n. 2
0
 public FastRegex(string pattern)
 {
     re = RegexCache.Get(pattern, RegexOptions.None);
 }
Esempio n. 3
0
 public static bool IsMatch(string input, string pattern)
 {
     return(RegexCache.Get(pattern, RegexOptions.None).IsMatch(input));
 }
Esempio n. 4
0
 public FastRegex(string pattern, RegexOptions options)
 {
     re = RegexCache.Get(pattern, options);
 }