Because (1) this was the smallest code change that enabled `Regexp` matching and (2) because this is how other matchers, e.g., `log`, support both `String` and `Regexp` expectations.