Index: runtime/lib/regexp.dart |
diff --git a/runtime/lib/regexp.dart b/runtime/lib/regexp.dart |
index 1cb16c7d69843f0dc0b55bed4570ff69d93070ae..8fcf93be65f81c3d263233494a79cf52742adc15 100644 |
--- a/runtime/lib/regexp.dart |
+++ b/runtime/lib/regexp.dart |
@@ -50,6 +50,8 @@ class JSRegExpMatch implements Match { |
return regexp._groupCount; |
} |
+ String get pattern() => regexp.pattern; |
+ |
final RegExp regexp; |
final String str; |
final List<int> _match; |