internal override void AppendTo(PatternBuilder builder) { if (string.IsNullOrEmpty(_text)) { return; } if (_ignoreCase) { builder.AppendOptions(RegexOptions.IgnoreCase, _text); } else { builder.AppendOptions(RegexOptions.None, RegexOptions.IgnoreCase, _text); } }
internal override void AppendTo(PatternBuilder builder) { builder.AppendOptions(_applyOptions, _disableOptions); }