bugDotGNU Portable.NET - Bugs: bug #11439, Regex produces assert

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #11439: Regex produces assert

Submitted by:  None
Submitted on:  Wed 29 Dec 2004 03:48:18 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: Closed

Fri 19 Aug 2005 11:44:38 PM UTC, comment #3:

Fixed by patch #4326.

Gopal.V <t3rmin4t0r>
Project Administrator
Wed 13 Apr 2005 11:45:55 AM UTC, comment #2:

The example above came through wrong due to muliple spaces being filtered out by this bug report system. There need to be three spaces before the "123".

Anonymous
Wed 13 Apr 2005 11:44:00 AM UTC, comment #1:

Here's another example that causes an assertion:
Regex.Match(" 123", @"\s+(\S+)\s+=\s+(.+)");

Anonymous
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

Anonymous

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 2 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Fri 19 Aug 2005 11:44:38 PM UTCt3rmin4t0rStatusNone=>Fixed
  Open/ClosedOpen=>Closed

Back to the top


Powered by Savane 3.1-cleanup1