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 [EMAIL PROTECTED]

http://bugzilla.ximian.com/show_bug.cgi?id=78278

--- shadow/78278        2006-05-03 13:12:17.000000000 -0400
+++ shadow/78278.tmp.16824      2006-05-03 13:12:17.000000000 -0400
@@ -0,0 +1,55 @@
+Bug#: 78278
+Product: Mono: Class Libraries
+Version: unspecified
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: System
+AssignedTo: [EMAIL PROTECTED]                            
+ReportedBy: [EMAIL PROTECTED]               
+QAContact: [EMAIL PROTECTED]
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: '*' Regex quantifier limited to 65535 characters
+
+Description of Problem:
+The '*' quantifier is limited to 65535 characters, if you try to match more
+than that with it it fails.
+
+This also causes * to match a second shorter match if available when it
+should be greedy and match the longer.
+
+Steps to reproduce the problem:
+1. Create string 'xaaa...aaax' (where there are 65536 a's)
+2. Try to match it against this regex: 'xa*x'
+
+Actual Results:
+Match fails.
+
+Expected Results:
+Match should succeed.
+
+or:
+
+1. Create string 'xaaaaxaaa...aaay (where second group of a's is 65531
+characters long)
+2. Try to match against this regex: 'x.*y'
+
+
+Actual Results:
+The match value is from the second x forward
+
+Expected Results:
+Match value should be from first character to last character
+
+
+How often does this happen? 
+Always
+
+Additional Information:
+With either of these test cases you can see if you make the long string of
+a's shorter by one character these match successfully.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to