| Index: runtime/lib/regexp_patch.dart
|
| diff --git a/runtime/lib/regexp_patch.dart b/runtime/lib/regexp_patch.dart
|
| index 92acb79d571c080b000355e39e5041fa0adc7fdd..936a7fee4f9b8f098a762b2089278b659b3ba820 100644
|
| --- a/runtime/lib/regexp_patch.dart
|
| +++ b/runtime/lib/regexp_patch.dart
|
| @@ -5,13 +5,8 @@
|
| class _JSRegExpMatch implements Match {
|
| _JSRegExpMatch(this.regexp, this.str, this._match);
|
|
|
| - int start() {
|
| - return _start(0);
|
| - }
|
| -
|
| - int end() {
|
| - return _end(0);
|
| - }
|
| + int get start => _start(0);
|
| + int get end => _end(0);
|
|
|
| int _start(int groupIdx) {
|
| return _match[(groupIdx * MATCH_PAIR)];
|
| @@ -46,9 +41,7 @@ class _JSRegExpMatch implements Match {
|
| return groupsList;
|
| }
|
|
|
| - int groupCount() {
|
| - return regexp._groupCount;
|
| - }
|
| + int get groupCount => regexp._groupCount;
|
|
|
| String get pattern => regexp.pattern;
|
|
|
|
|