Argentini.Halide.H3Identify.HasPattern C# (CSharp) Méthode

HasPattern() public static méthode

Checks to see if the passed input has the passed pattern
public static HasPattern ( string pattern, string input ) : System.Boolean
pattern string The pattern to use.
input string The input to check.
Résultat System.Boolean
        public static Boolean HasPattern(string pattern, string input)
        {
            Regex regEx = new Regex(pattern);
               return regEx.IsMatch(input);
        }