Argentini.Halide.H3Identify.HasPattern C# (CSharp) Method

HasPattern() public static method

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.
return System.Boolean
        public static Boolean HasPattern(string pattern, string input)
        {
            Regex regEx = new Regex(pattern);
               return regEx.IsMatch(input);
        }