Wed 29 Dec 2004 03:48:18 PM UTC, original submission:
The following code produces assert with ilrun but not with mono.
Regex dname = new Regex("fo.*b([^p]+)");
Match start = dname.Match("foobp");
The assert is:
at System.Diagnostics.DefaultTraceListener.Fail(String, String) in ./Diagnostics/DefaultTraceListener.cs:94
at System.Diagnostics.Trace.Fail(String, String) in ./Diagnostics/Trace.cs:233
at System.Diagnostics.Trace.Assert(Boolean, String, String) in ./Diagnostics/Trace.cs:208
at System.Diagnostics.Debug.Assert(Boolean, String, String) in ./Diagnostics/Debug.cs:92
at System.Text.RegularExpressions.Interpreter.Backtrack(Int32) in ./Text/RegularExpressions/interpreter.cs:860
at System.Text.RegularExpressions.Interpreter.Eval(Mode, Int32&, Int32) in ./Text/RegularExpressions/interpreter.cs:599
at System.Text.RegularExpressions.Interpreter.TryMatch(Int32&, Int32) in ./Text/RegularExpressions/interpreter.cs:744
at System.Text.RegularExpressions.Interpreter.Eval(Mode, Int32&, Int32) in ./Text/RegularExpressions/interpreter.cs:166
at System.Text.RegularExpressions.Interpreter.Scan(Regex, String, Int32, Int32) in ./Text/RegularExpressions/interpreter.cs:42
at System.Text.RegularExpressions.Regex.Match(String, Int32) in ./Text/RegularExpressions/regex.cs:293
at System.Text.RegularExpressions.Regex.Match(String) in ./Text/RegularExpressions/regex.cs:288
The version of cscc is:
cscc version 0.6.10
ILRUN 0.6.10 - IL Program Runtime
|