With this code, isMatch is false.
var input = "12312345023";
var isMatch = Regex.IsMatch(@"^\d{6,}", input);
And if input = "", isMatch is true. Not sure why it seems to be opposite of what it should be.
If I try the same pattern and input here it works as expected. But when I start a new console app with just that code, isMatch is not correct.