[Mono-bugs] [Bug 58477][Nor] New - MONO Beta 1 bug with RegEx matching.
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Fri, 14 May 2004 00:48:42 -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 davidandrewtaylor@hotmail.com.
http://bugzilla.ximian.com/show_bug.cgi?id=58477
--- shadow/58477 2004-05-14 00:48:42.000000000 -0400
+++ shadow/58477.tmp.1033 2004-05-14 00:48:42.000000000 -0400
@@ -0,0 +1,42 @@
+Bug#: 58477
+Product: Mono: Class Libraries
+Version: unspecified
+OS: Red Hat 9.0
+OS Details:
+Status: NEW
+Resolution:
+Severity: 002 Two hours
+Priority: Normal
+Component: Sys.Web
+AssignedTo: mono-bugs@ximian.com
+ReportedBy: davidandrewtaylor@hotmail.com
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: MONO Beta 1 bug with RegEx matching.
+
+Description of Problem:
+Many ASP.NET apps use the RegularExpressionValidator to ensure string
+values are within defined length using this kind of RegEX:
+[\w\W]{8,32}
+However it is always failing in MONO (will not match any strings) even
+though it works in MS.NET. I have temporarily fixed this by changing the
+RegEx to the following (which works in both MS.NET and MONO)
+(\w|\W){0,32}
+
+This bug should be fixed and is probably part of the underlying RegEx
+engine (not System.Web) but I filed the bug against this assembly because
+I experienced it using the RegEx Validation control.
+
+Steps to reproduce the problem:
+1. Try this RegEx: [\w\W]{8,32}
+
+Actual Results:
+Will not match anything.
+
+Expected Results:
+Should match ALL strings between 8 and 32 characters.
+
+How often does this happen?
+All the time on MONO Beta 1.