ich bekomme beim Regex.Match eine seltsame Exception bei dem folgenden Fall:
string nr = "69126010";
string expression1 = "6912601?";
string expression2 = "691260??";
string expression3 = "69126???";
Match m = Regex.Match(nr, expression1); // <-keine Exception
Match m = Regex.Match(nr, expression2); // <-keine Exception
Match m = Regex.Match(nr, expression3); // <-Exception!
der genaue Exception lautet:
Zitat |
An unhandled exception of type 'System.ArgumentException' occurred in System.dll Additional information: "69126???" wird analysiert - Geschachtelter Quantifizierer ?. |
Hoffe es kann wer was damit anfangen.
Viele Grüße & danke schonmal.