Ancestry.Daisy.Statements.MatchesAttribute.MatchesAttribute C# (CSharp) Метод

MatchesAttribute() публичный Метод

public MatchesAttribute ( string regexp ) : System
regexp string
Результат System
        public MatchesAttribute(string regexp)
        {
            if (!regexp.EndsWith("$")) regexp = regexp + "$";
            if (!regexp.StartsWith("^")) regexp = "^" + regexp;
            RegularExpression = new Regex(regexp,RegexOptions.IgnoreCase | RegexOptions.Compiled);
        }
MatchesAttribute