[Mono-bugs] [Bug 56761][Nor] Changed - [Patch] Regex doesnt like A{,2} for repitition bounds
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Tue, 13 Apr 2004 14:42:18 -0400 (EDT)
Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.
Changed by dave-mono@earth.li.
http://bugzilla.ximian.com/show_bug.cgi?id=56761
--- shadow/56761 2004-04-09 15:16:58.000000000 -0400
+++ shadow/56761.tmp.986 2004-04-13 14:42:18.000000000 -0400
@@ -11,13 +11,13 @@
AssignedTo: mono-bugs@ximian.com
ReportedBy: dave-gnome-bugs@earth.li
QAContact: mono-bugs@ximian.com
TargetMilestone: ---
URL:
Cc:
-Summary: Regex doesnt like A{,2} for repitition bounds
+Summary: [Patch] Regex doesnt like A{,2} for repitition bounds
Description of Problem:
If you try to create a regular expression using {,n} as the specified
bounds you get an exception, rather than it equating to {0,n}.
@@ -72,6 +72,9 @@
Assertion.AssertEquals("Bounds0", true, reg.IsMatch(""));
Assertion.AssertEquals("Bounds1", true, reg.IsMatch("a"));
Assertion.AssertEquals("Bounds2", true, reg.IsMatch("aa"));
Assertion.AssertEquals("Bounds3", false, reg.IsMatch("aaa"));
}
+
+------- Additional Comments From dave-mono@earth.li 2004-04-13 14:42 -------
+H