| Index: runtime/lib/regexp_patch.dart
|
| diff --git a/runtime/lib/regexp_patch.dart b/runtime/lib/regexp_patch.dart
|
| index f9e5d6a7ee91a25816af01359a473ec3292d6115..115dd45a802e922de1651dd4976fae123d4f850a 100644
|
| --- a/runtime/lib/regexp_patch.dart
|
| +++ b/runtime/lib/regexp_patch.dart
|
| @@ -18,7 +18,7 @@ class _JSRegExpMatch implements Match {
|
|
|
| String group(int groupIdx) {
|
| if (groupIdx < 0 || groupIdx > regexp._groupCount) {
|
| - throw new IndexOutOfRangeException(groupIdx);
|
| + throw new RangeError.value(groupIdx);
|
| }
|
| int startIndex = _start(groupIdx);
|
| int endIndex = _end(groupIdx);
|
|
|