[Mono-bugs] [Bug 69065][Cri] New - RegularExpressions doesn't work as expected
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Wed, 3 Nov 2004 13:52:23 -0500 (EST)
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 w.purrer@lenzing.com.
http://bugzilla.ximian.com/show_bug.cgi?id=69065
--- shadow/69065 2004-11-03 13:52:23.000000000 -0500
+++ shadow/69065.tmp.8210 2004-11-03 13:52:23.000000000 -0500
@@ -0,0 +1,35 @@
+Bug#: 69065
+Product: Mono: Class Libraries
+Version: 1.0
+OS: Suse 8.2
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Critical
+Component: System
+AssignedTo: mono-bugs@ximian.com
+ReportedBy: w.purrer@lenzing.com
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: RegularExpressions doesn't work as expected
+
+string test2 = @" REGLER-PARAMETER ";
+string test3 = @"REGLER-PARAMETER ";
+
+Regex x = new Regex("REGLER-
+PARAMETER",RegexOptions.IgnoreCase|RegexOptions.Compiled);
+
+Match m;
+m =x.Match(test2);
+if (m.Success)
+{
+ // true only with ms.net Framework
+}
+m =x.Match(test3);
+if (m.Success)
+{
+ // true mono and ms.net
+}