Ancestry.Daisy.Statements.MatchesAttribute.MatchesAttribute C# (CSharp) Method

MatchesAttribute() public method

public MatchesAttribute ( string regexp ) : System
regexp string
return System
        public MatchesAttribute(string regexp)
        {
            if (!regexp.EndsWith("$")) regexp = regexp + "$";
            if (!regexp.StartsWith("^")) regexp = "^" + regexp;
            RegularExpression = new Regex(regexp,RegexOptions.IgnoreCase | RegexOptions.Compiled);
        }
MatchesAttribute