public bool Equals(GenericRegex/*!*/ other) { // TODO: return Options == other.Options && GetPattern().Equals(other.GetPattern()); }
public bool Equals(GenericRegex /*!*/ other) { // TODO: return(Options == other.Options && GetPattern().Equals(other.GetPattern())); }
public RubyRegex(Regex /*!*/ regex) { ContractUtils.RequiresNotNull(regex, "regex"); _regex = new StringRegex(regex); }
public RubyRegex(RubyRegex /*!*/ regex) { ContractUtils.RequiresNotNull(regex, "regex"); _regex = regex._regex; }
public RubyRegex(byte[] /*!*/ pattern, RubyRegexOptions options) { ContractUtils.RequiresNotNull(pattern, "pattern"); // TODO: _regex = new BinaryRegex(pattern, options); _regex = new StringRegex(BinaryEncoding.Obsolete.GetString(pattern, 0, pattern.Length), options); }
public RubyRegex(string /*!*/ pattern, RubyRegexOptions options) { ContractUtils.RequiresNotNull(pattern, "pattern"); _regex = new StringRegex(pattern, options); }
public RubyRegex(MutableString /*!*/ pattern, RubyRegexOptions options) { ContractUtils.RequiresNotNull(pattern, "pattern"); _regex = pattern.ToRegularExpression(options); }
public RubyRegex() { _regex = StringRegex.Empty; }
public void Set(MutableString /*!*/ pattern, RubyRegexOptions options) { _regex = pattern.ToRegularExpression(options); }