SortedSet: Enable set comparision operations on views, and improve performance
[mono.git] / mcs / class / System / System.Text.RegularExpressions / replace.cs
index c27f6479cda026967e883ae7db061d410a7889dc..835ea7ce0aa744186c6f607d269e460fc0410e37 100644 (file)
@@ -87,6 +87,15 @@ namespace System.Text.RegularExpressions {
                        }
                }
 
+               public bool NeedsGroupsOrCaptures {
+                       get {
+                               if (n_pieces == 0)
+                                       return false;
+                               else
+                                       return true;
+                       }
+               }
+
                void Ensure (int size)
                {
                        int new_size;