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=78895 --- shadow/78895 2006-07-19 02:43:26.000000000 -0400 +++ shadow/78895.tmp.30854 2006-07-19 02:43:26.000000000 -0400 @@ -0,0 +1,46 @@ +Bug#: 78895 +Product: Mono: Class Libraries +Version: 1.1 +OS: SUSE 9.2 +OS Details: +Status: NEW +Resolution: +Severity: +Priority: Wishlist +Component: System +AssignedTo: [EMAIL PROTECTED] +ReportedBy: [EMAIL PROTECTED] +QAContact: [EMAIL PROTECTED] +TargetMilestone: --- +URL: +Cc: +Summary: Regex.Replace + +I found that Regex.Replace method works wrong on my platform + +Folowing application returns wrong result. + +using System; +using System.Text.RegularExpressions; + +public class MainClass { + + + [STAThread] + public static void Main() { + + string str = "\\s\\n\\r"; + string src = "#"; + + string res = Regex.Replace(src,"#",str); + Console.WriteLine(res); + + } +} + +On console I get output "s". +Normaly this code should output string "\s\n\r"; + + +How often does this happen? +always _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
