[Mono-bugs] [Bug 58256][Wis] Changed - Replace Doesn't Replace ' Correctly
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Thu, 13 May 2004 10:26:52 -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 kjambunathan@novell.com.
http://bugzilla.ximian.com/show_bug.cgi?id=58256
--- shadow/58256 2004-05-13 03:03:09.000000000 -0400
+++ shadow/58256.tmp.22846 2004-05-13 10:26:52.000000000 -0400
@@ -78,6 +78,21 @@
Microsoft's implementation is a question that might have to be answered.
Anyway on Linux, our implemetation is different from our intent. Will
attach a patch soon.
+
+------- Additional Comments From kjambunathan@novell.com 2004-05-13 10:26 -------
+In short we can say that Regex.Unescape() is misbehaving. I am
+attaching a patch with the assumption that the following assertion
+holds good for ParseEscape():
+
+1) Before the call to ParseEscape(), ptr should point to the char to
+the right of \
+
+2) After the call to ParseUnescape, ptr will point to the char
+immediately to the right of the escaped caharacter.
+
+
+
+