projects
/
mono.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
SortedSet: Enable set comparision operations on views, and improve performance
[mono.git]
/
mcs
/
class
/
System
/
System.Text.RegularExpressions
/
replace.cs
diff --git
a/mcs/class/System/System.Text.RegularExpressions/replace.cs
b/mcs/class/System/System.Text.RegularExpressions/replace.cs
index c27f6479cda026967e883ae7db061d410a7889dc..835ea7ce0aa744186c6f607d269e460fc0410e37 100644
(file)
--- a/
mcs/class/System/System.Text.RegularExpressions/replace.cs
+++ b/
mcs/class/System/System.Text.RegularExpressions/replace.cs
@@
-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;