Hi there,
if I execute this sample code
Console.WriteLine("Start");
Regex regularExpression = new Regex(
);
regularExpression.Match(
);
Console.WriteLine("Before hang");
regularExpression.Match(
);
Console.WriteLine("After");
the second match call (it is not important that it is the second Match call, just to show that the regular expression does work on a similar but smaller string) will lead to a**** process (so 'After' is never reached, the Match call just takes 100% CPU). I wonder whether I could find out whether this is known issue (I found this forum, while looking for a known issues page).
(I am using .Net v2.0.50727)
Kind regards,
--Sander.
.NET Development2
|