RegexOptions.IgnoreCase not working with LogAssert.Expect

I am trying to test an error log is triggered but it doesn’t seem to pick this up as a match

LogAssert.Expect(LogType.Error, new Regex("unexpected null value",
, RegexOptions.IgnoreCase));

I am using the following string “Unexpected null value for image”. It works when I use the regex

"(?i)unexpected null value"

Just wondering if I am missing something or if RegexOptions are not supported in LogAssert?

I once ran into a similar issue, debugged it, and found out that the regex is actually stored as a simple string (using ToString() on the regex) at some point inside the test framework. This means that no regex options are supported.