Hardly.Regex.Regex C# (CSharp) Method

Regex() public method

public Regex ( string pattern ) : System
pattern string
return System
        public Regex(string pattern)
        {
            if(pattern != null) {
                this.regex = new System.Text.RegularExpressions.Regex(pattern, System.Text.RegularExpressions.RegexOptions.IgnoreCase);
            } else {
                throw new ArgumentNullException();
            }
        }