public void RemoveModifier_RemoveModifierM_RemovesMulitilineAsDefault() { verbEx = VerbalExpressions.DefaultExpression; var regex = verbEx.ToRegex(); Assert.IsTrue(regex.Options.HasFlag(RegexOptions.Multiline), "RegexOptions should have MultiLine as default"); verbEx.RemoveModifier('m'); regex = verbEx.ToRegex(); Assert.IsFalse(regex.Options.HasFlag(RegexOptions.Multiline), "RegexOptions should now have been removed"); }