public void WithAnyCase_SetsCorrectIgnoreCaseRegexOptionAndHasMultiLineRegexOptionAsDefault()
        {
            verbEx.WithAnyCase();

            var regex = verbEx.ToRegex();

            Assert.IsTrue(regex.Options.HasFlag(RegexOptions.IgnoreCase), "RegexOptions should have ignoreCase");
            Assert.IsTrue(regex.Options.HasFlag(RegexOptions.Multiline), "RegexOptions should have MultiLine as default");
        }
 public VerbalExpression WithAnyCase(bool enable)
 {
     if (enable)
     {
         AddModifier("i");
     }
     else
     {
         RemoveModifier("i");
     }
     _verbalExpression.WithAnyCase(enable);
     return(this);
 }