Argentini.Halide.H3Identify.HasPattern C# (CSharp) 메소드

HasPattern() 공개 정적인 메소드

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