[Mono-bugs] [Bug 81714][Wis] New - Regex.Replace doesn't replace ^

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Wed May 23 03:32:58 EDT 2007


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 sanxiyn at gmail.com.

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

--- shadow/81714	2007-05-23 03:32:58.000000000 -0400
+++ shadow/81714.tmp.25459	2007-05-23 03:32:58.000000000 -0400
@@ -0,0 +1,36 @@
+Bug#: 81714
+Product: Mono: Class Libraries
+Version: 1.2
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: System
+AssignedTo: mono-bugs at ximian.com                            
+ReportedBy: sanxiyn at gmail.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Regex.Replace doesn't replace ^
+
+IronPython session on Mono:
+
+>>> from System.Text.RegularExpressions import Regex
+>>> r = Regex('^')
+>>> r.Replace('a', 'x')
+'a'
+
+On MS.NET:
+
+>>> from System.Text.RegularExpressions import Regex
+>>> r = Regex('^')
+>>> r.Replace('a', 'x')
+'xa'
+
+This is one of the issues blocking Mako Templates library from running on
+IronPython/Mono.
+
+http://www.makotemplates.org/


More information about the mono-bugs mailing list