projects
/
mono.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
* collections.cs: In the indexer, return an empty group if the requested
[mono.git]
/
mcs
/
class
/
System
/
System.Text.RegularExpressions
/
match.cs
diff --git
a/mcs/class/System/System.Text.RegularExpressions/match.cs
b/mcs/class/System/System.Text.RegularExpressions/match.cs
index 9cdf5db9663d7301b4a55ccd6d2546ac041f9ad0..943a0c97fd8f5e6c5667eff193b8c4b77c3fe4d8 100644
(file)
--- a/
mcs/class/System/System.Text.RegularExpressions/match.cs
+++ b/
mcs/class/System/System.Text.RegularExpressions/match.cs
@@
-85,6
+85,11
@@
namespace System.Text.RegularExpressions {
captures.Add (new Capture (text, caps[i], caps[i + 1]));
\r
captures.Reverse ();
\r
}
\r
captures.Add (new Capture (text, caps[i], caps[i + 1]));
\r
captures.Reverse ();
\r
}
\r
+
\r
+ internal Group (): base ("")
\r
+ {
\r
+ captures = new CaptureCollection ();
\r
+ }
\r
\r
private bool success;
\r
private CaptureCollection captures;
\r
\r
private bool success;
\r
private CaptureCollection captures;
\r