/// <summary> /// When overridden in the derived class, creates a deep copy of this filter. /// </summary> /// <returns>The deep copy of this filter.</returns> protected override TextFilter DeepCopyInternal() { var ret = new RegexTextFilter(); if (_filter != null) ret._filter = new Regex(_filter.ToString(), _regexOptions); return ret; }
/// <summary> /// When overridden in the derived class, creates a deep copy of this filter. /// </summary> /// <returns>The deep copy of this filter.</returns> protected override TextFilter DeepCopyInternal() { var ret = new RegexTextFilter(); if (_filter != null) { ret._filter = new Regex(_filter.ToString(), _regexOptions); } return(ret); }