Support multi line wild card matching (#419)

This commit is contained in:
Noah Lerner
2020-02-13 21:05:56 +02:00
committed by GitHub
parent 83866f5719
commit 4c01ef4838

View File

@@ -61,7 +61,8 @@ namespace WireMock.Matchers
IgnoreCase = ignoreCase;
MatchBehaviour = matchBehaviour;
RegexOptions options = RegexOptions.Compiled;
RegexOptions options = RegexOptions.Compiled | RegexOptions.Multiline;
if (ignoreCase)
{
options |= RegexOptions.IgnoreCase;