Author: raja
Date: 2005-05-25 08:16:58 -0400 (Wed, 25 May 2005)
New Revision: 44993

Modified:
   trunk/mcs/class/System/Test/System.Text.RegularExpressions/ChangeLog
   trunk/mcs/class/System/Test/System.Text.RegularExpressions/RegexReplace.cs
Log:
* RegexReplace.cs: Add a couple more testcases.


Modified: trunk/mcs/class/System/Test/System.Text.RegularExpressions/ChangeLog
===================================================================
--- trunk/mcs/class/System/Test/System.Text.RegularExpressions/ChangeLog        
2005-05-25 12:04:56 UTC (rev 44992)
+++ trunk/mcs/class/System/Test/System.Text.RegularExpressions/ChangeLog        
2005-05-25 12:16:58 UTC (rev 44993)
@@ -1,3 +1,7 @@
+2005-05-25  Raja R Harinath  <[EMAIL PROTECTED]>
+
+       * RegexReplace.cs: Add a couple more testcases.
+
 2005-05-24  Raja R Harinath  <[EMAIL PROTECTED]>
 
        * RegexReplace.cs: Add testcase for $+.

Modified: 
trunk/mcs/class/System/Test/System.Text.RegularExpressions/RegexReplace.cs
===================================================================
--- trunk/mcs/class/System/Test/System.Text.RegularExpressions/RegexReplace.cs  
2005-05-25 12:04:56 UTC (rev 44992)
+++ trunk/mcs/class/System/Test/System.Text.RegularExpressions/RegexReplace.cs  
2005-05-25 12:16:58 UTC (rev 44993)
@@ -63,6 +63,9 @@
                        new testcase ("text",   "(?<foo>e)(x)",         
"${foo}$1$2",           "texet"         ),
                        new testcase ("text",   "(e)(?<foo>x)",         
"${foo}$1$2$+",         "txexxt"        ),
                        new testcase ("text",   "(?<foo>e)(x)",         
"${foo}$1$2$+",         "texeet"        ),
+                       new testcase ("314 1592 65358",         
@"\d\d\d\d|\d\d\d", "a",        "a a a8"        ),
+                       new testcase ("2 314 1592 65358",       
@"\d\d\d\d|\d\d\d", "a",        "2 a a a8"      ),
+                       new testcase ("<i>am not</i>",          "<(.+?)>",      
"[$0:$1]",      "[<i>:i]am not[</i>:/i]"),
                };
 
                [Test]

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to