Index: RubyScope.cs
===================================================================
--- RubyScope.cs	(revision 93)
+++ RubyScope.cs	(working copy)
@@ -102,7 +102,7 @@
         internal MutableString GetCurrentMatchGroup(int index) {
             Debug.Assert(index >= 0);
 
-            if (_currentMatch != null && _currentMatch.Groups.Count < index) {
+            if (_currentMatch != null && index < _currentMatch.Groups.Count) {
                 return new MutableString(_currentMatch.Groups[index].Value);
             }
 
