Exemplo n.º 1
0
 public static string GetRegexString(KnownRegex knownRegex)
 {
     return(KNOWN_REGEX[knownRegex]);
 }
Exemplo n.º 2
0
 public static string GetRegexStringForJavaScript(KnownRegex knownRegex)
 {
     return(MakeRegexSafeForJavaScript(KNOWN_REGEX[knownRegex]));
 }
Exemplo n.º 3
0
 public static Regex GetRegex(KnownRegex knownRegex)
 {
     return(new Regex(KNOWN_REGEX[knownRegex]));
 }