In c# I have a regex and I can't get my head around why it is not matching.
The pattern (abc\r\n)* should match the abc\r\nabc\r\n in the string 123\r\nabc\r\nabc\r\n345
Regex regex = new Regex("(abc\r\n)*", RegexOptions.Compiled);
var mat = regex.Match("123\r\nabc\r\nabc\r\n345");
The funny thing is that mat.Success returns true.

The same pattern matches online